Click to See Complete Forum and Search --> : Browser Security Level


Taliv
05-10-2003, 09:17 AM
I have a simple form that calculates, in a JavaScript function, the amount due based on checkboxes selected, and in this function updates the contents of the form field "amount".

The function is called each time a checkbox is checked or unchecked.

With security level set to high the function doesn't work - it's never called - and even the submit button doesn't respond. I should imagine that with variations of "custom level" the same thing happens.

Is this normal "behaviour" for a page like this with the security level set to high or am I doing something wrong?

Jona
05-10-2003, 11:37 AM
Chances are "High-security" disables JavaScript. Make sure, for one, your page is valid HTML4.01 by using the W3C Validator (http://validator.w3.org/). Also, it's a good idea to make sure that you submit your form via a submit button, rather than JavaScript; because approximately 10% of your visitors will have this setting, they will not be able to submit the form.