By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,575 Members | 1,413 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,575 IT Pros & Developers. It's quick & easy.

my javascript is not working in FireFox

kaleeswaran
100+
P: 132
hi!
i wrote java script function while i was using ie6 ..after that i ran the same program in FireFox.but my javascript function is not working although pop window itself is not working,,,
how do i fix this?...
Thank you,
kaleeswaran
May 6 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
We can't help if you don't show the code that's causing the problem.
May 6 '08 #2

kaleeswaran
100+
P: 132
We can't help if you don't show the code that's causing the problem.
thank you for your reply,
i am working on Banking domain,..my whole modules JS files are working properly in IE6 but not in Mozilla..
for example
Expand|Select|Wrap|Line Numbers
  1. function disbInstallment()
  2. {
  3.    if(Disbmode.value!="")
  4.             {
  5.                     window.open("<%= request.getContextPath()%>/view/loan/Master/GridDisbursementInstallment.jsp?loanCode="+code.value+"&mode="+Disbmode.value,"mywindow",'780','590','no','center');
  6.             }
  7. }
when i click the button one pop window will open ,it's perfectly working in IE6..
In Mozilla pop Window itself not opening....

Thank You,
kaleeswaran
May 7 '08 #3

gits
Expert Mod 5K+
P: 5,390
show how you refer o Disbmode ... you should use something like this:

Expand|Select|Wrap|Line Numbers
  1. var val = document.getElementById('Disbmode').value;
that assumes that the node has an id = 'Disbmode' ... and then you may check against the variable val

kind regards
May 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.