473,837 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

my javascript is not working in FireFox

kaleeswaran
132 New Member
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
3 2331
acoder
16,027 Recognized Expert Moderator MVP
We can't help if you don't show the code that's causing the problem.
May 6 '08 #2
kaleeswaran
132 New Member
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
5,390 Recognized Expert Moderator Expert
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

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

Similar topics

8
3683
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
7
9628
by: Coder | last post by:
Hi I have the following code in java script, it is not giving proper output in FIREFOX but running fine in IE... can anybody help me out to make this run in FIREFOX . <script language="JavaScript"> var cntlName; var eleTarget = document.getElementById('hiding'); function showOrHide(){
13
1968
by: David Golightly | last post by:
I'm getting my feet wet with JavaScript 1.7 (Firefox 2.0 only) and messing around with it in the console, working through some of the exercises given at http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7 Looks like the "version" function isn't supported, at least not in the Firefox console. So many of the new features - especially using the "let" and "yield" keywords, as well as practical Array comprehensions which depend on...
16
2340
by: Eric | last post by:
I have a user of a web application written in Java/JSP that is unable to login to the site simply because certain links on the page do not run when they are clicked. Other popups using Javascript on the same page work correctly. It appears to be isolated to 1-2 machines in a particular network. I cannot verify whether these machines have had virus/spyware scans, but I do know the user is running Firefox 2.1 and IE 7 with the same...
1
1498
by: nitinp | last post by:
hello, I am trying to validate empty textbox value by javascript in Firefox. It is working fine in IE but not in Firefox. Note - code is for ASP.NET <script runat="server"> protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) Button1.Attributes.Add("onclick", "javascript:checkForm();");
12
2621
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more than one line and the text simply overlaps the sub-menus below it. I thought i had got around this by placing empty 'spacers' like so; oFoldMenu.make('sub3','')//spacer unfortunately, i have just viewed the site in IExplorer and it has added...
16
3540
by: eben | last post by:
I've been playing with the canvas primitive available in some of the modern browsers, and have put together a little 3d engine that I thought other people might find useful. See http://ajax3d.sourceforge.net/ I'd appreciate any feedback (and an explanation of why it doesn't seem to like Safari). Eben
2
1765
by: barrymars | last post by:
First posting here so bear with me. i'm working on a double tabbed menu system for a web aplpication, where the first row of 'divs' control visibility of the second row of 'divs'. It all works fine in IE7 but when i open it in firefox i only get the top row with nothing being rendered for the bottom row. some of the javascript is working because the top row changes colour when you roll the mouse over each tag. Thanks in advance for any...
5
19084
by: cbs7 | last post by:
Hi all I'm a complete newbie to web development and Javascript especially. I've been creating a form for a webpage and have used a validation script gen_validatorv2.js which I downloaded from the zip file referenced on http://www.javascript-coder.com/html-form/javascript-form-validation.phtml I managed to get everything working and was testing through Firefox that alerts were generated. However at the very end I thought I'd better check...
4
6050
by: iamaporkaholic | last post by:
The main page of the site has this script which determines the language settings of the OS. This works fine for IE but not for firefox. Is there any other codes which i have to insert to make sure Firefox would be able to load it? <script type="text/javascript"> function detectlang() { var lang=navigator.userLanguage var langs=navigator.systemLanguage
0
9853
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9696
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10584
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9423
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5681
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4482
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.