Click to See Complete Forum and Search --> : javascript not working in netscape properly!


loureiro
06-27-2003, 03:03 PM
hi,

I have already gone to look at all the settings and i cant figure out why it wont allow javascript to work! it works in every other browser but netscape! has anyone else encountered that problem? if so please help me out!

it says that there is an error on a few sections but i didnt think it would just not show any of the code considering it works in other browsers! here is the error and line

Error: missing ( before formal parameters
Source File: http://lifestyles.londondigitalone.com/step2.php
function package() {
_______|
Line: 36

Jona
06-27-2003, 03:18 PM
What you do is set a variable to the return value of the function like this:


var isChecked = package();


Of course, this would go after your function package(). If you call the validation onSubmit, you might want to just use onSubmit="isChecked = package(); return ValidateForm();"

[Jona]