Click to See Complete Forum and Search --> : Works in IE not Mozilla or Netscape


micrometer
11-14-2003, 06:04 PM
I have an orderform with a ton of javascript
It works great on IE but does not work in Netscape or Mozilla.
In IE when you choose a retailer and then enter a qty, it tallies the total and sub total. It does not work in Mo or Netscape...
It is a coldfusion page but the javascript is causing the problem.

Here is the page:
http://www.stpaulsalem.dynu.com/tiptestnew/orderform.cfm

Mic

Khalid Ali
11-14-2003, 07:10 PM
this line of code
var d = document.tipOrderForm(Sent_ID); seems to be the first error..

What the error means is that .topOrderForm(Sent_ID)
is not a function or its not defined anywhere.Use NS/Moz browsers JavaScrript debugging tool to see the errors and then fix them

micrometer
11-14-2003, 10:08 PM
tipOrderForm is the form name and sent_ID is the id.

it is just making a variable not a function - what am I missing here??

Khalid Ali
11-15-2003, 12:19 AM
does that mean you are trying to reference the form element with the id?
if so then use the following

var d = document.getElementById(Send_ID);