473,513 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript help using FireFox

2 New Member
This JS works great in IE but does not work in FF. Can someone please advise me on what needs to be changed.

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript"> 
  2. var promptValue; 
  3. var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() : document.forms["formWarpRequest"]); 
  4.  
  5. if ( !fW || fW == undefined) { fW = ( formWarpRequest_THIS_ ? formWarpRequest_THIS_ : formWarpRequest_NS_ );} 
  6. var prompt = fW._oLstChoicesMth; 
  7. if (prompt.value.length==0) 
  8.  
  9. /* for (i = 0; i < prompt.options.length; i++) 
  10.  
  11. alert(promptValue + ' ' + prompt.options[2].text) 
  12. if (prompt.options[2].text == promptValue) 
  13. prompt.options[2].selected = true; 
  14. }*/ 
  15.  
  16. prompt.options[2].selected = true; 
  17.  
  18. promptAction('finish'); 
  19.  
  20. </script>
Nov 6 '11 #1
2 1617
Dormilich
8,658 Recognized Expert Moderator Expert
is there anything in the Error Console?
Nov 7 '11 #2
DeeOr
2 New Member
No there is no error. I think I'm missing an id tag but not sure.
Nov 8 '11 #3

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

Similar topics

3
1601
by: ~~~ .NET Ed ~~~ | last post by:
This is a strange problem and I wonder if anybody has experienced this annoying anomaly. I created a new ASP.NET project with its web-shared directory on my WinXP Pro/IIS machine. I compile the...
4
2312
by: lmarceglia | last post by:
Hi, I have this website that doesn't work in Firefox 1.5: www.pianetaluca.com The HTML source is: <TITLE>PianetaLuca</TITLE> </HEAD>
8
3551
by: a8736d53 | last post by:
Is there any way to get a list of the available fonts using Firefox?
4
2128
by: simon.a.hulbert | last post by:
Hi, I'm trying to view the following xslt transformation using firefox <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" > <xsl:output method = "xml" indent =...
1
1467
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...
8
2160
by: sultanwadood | last post by:
Hi all. I need to know how to disable javascript through javascript in firefox. thanks in advance if some one could help me. Sultan Wadood.
1
6594
by: aal | last post by:
Hi experts, How would look the following IE javaScript in Firefox? var wrd = new ActiveXObject("Word.Application"); var excl = new ActiveXObject("Excel.Application"); Thanks aal
2
2375
by: Joey | last post by:
This is causing us a lot of pain right now. Does anyone know why this happens and, more importantly, how to fix it? TIA JP
0
7257
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,...
0
7157
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...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
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 ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.