473,396 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Form works in IE and Opera, not Firefox nor Netscape

Bob
I've got a fair amount of Javascript coding that works great in IE and
Opera, but is completely ignore in Firefox and Netscape. See:

www.bridgemate.net/BeachWatchers/Regis.htm

Right after the <FORM NAME="Regis".....tag I have

<div onClick='getRadios(document.Regis)'>

which sends control to getRadios() when the user clicks anywhere on the
form...at least in IE.

Anyone have a clue as to the problem/solution..TIA

Jul 14 '06 #1
3 1516
Bob

I've narrowed down my problem to the "/r" feature inside an Alert

Alert("Something/rnext line)

prints out like this on IE

Something
next line

but like this on Firefox

Something next line

So, Firefox recognizes the /r, (by not displaying it) but it's not
changing to a new line.

Jul 14 '06 #2
On 13 Jul 2006 21:19:53 -0700, "Bob" <bo**@whidbey.com>:
>Right after the <FORM NAME="Regis".....tag I have

<div onClick='getRadios(document.Regis)'>
Try this:

<form id="whatever" NAME...
<div onClick='getRadios(document.getElementById("whatev er"))'>
Jul 14 '06 #3
Bob said the following on 7/14/2006 12:49 AM:
I've narrowed down my problem to the "/r" feature inside an Alert

Alert("Something/rnext line)
alert("something\r\nnext line")

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Chris | last post by:
Heres my problem: <a href="javascript:void(document.buysell.submit())" target="_parent" onMouseOver="MM_swapImage('members','','images/membersf2.gif',1)" onMouseOut="MM_swapImgRestore()"><img...
2
by: Jorntk | last post by:
how to generate test fields base on the number selected in a drop down option menu? -- Thanks and Regards Jorn
12
by: Jim Tome | last post by:
Hi, I am trying to change and pass the value of a hidden input type on a form tag to a cgi processing script based on the value of a checkbox within the form: function CheckBoxes () { if...
2
by: Sten Larsson | last post by:
Hi All ! I have to code below - works great in IE and Opera, but does not work at all in Firefox / Netscape. Any ideas? The problem is that nothing happens when clicking printer friendly. ...
1
by: Perttu Pulkkinen | last post by:
I use hit two function to stop from sending the form. First one I use to move focus to the next desired field, second one to do nothing (when there is no desired field to go). Works in IE &...
4
by: Stuart Perryman | last post by:
Hi, I have the following code which works just fine in IE6 but not in Firefox. It is an extract of several table rows each with an individual form. It is generated by php. <form...
2
by: Mark Rae | last post by:
Hi, I've just finished upgrading a site for a client to XHTML-compliance. It's been tested on the latest versions of the following OS / browser combinations: WinXP - IE WinXP - Netscape...
1
by: lwenkel | last post by:
This is what should happen in Firefox - this is in IE: http://www.sacu.com/locations/locate.asp This is the javascript that manupulates the images. It is slightly modified from the IE version. ...
4
by: drclue | last post by:
I've this SVG speaker selection tool I've been working on and it validates with the w3.org. I'd like to see what it does for a few real users here. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...
0
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,...

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.