Click to See Complete Forum and Search --> : Calling a function from a <BUTTON>


Rodders
11-21-2002, 05:22 PM
I have a form on my site which has 4 text fields. When the page is loaded the 'Save' button is disabled. To enable it the user must click on a 'Check' button which will call a function to validate the field values.

It was working, but suddenly it has stopped. I think the problem is in the onClick= statement for the <BUTTON> but I cannot see the error.

Go here and have a look.. Try It (http://roundthebend.greater-peterborough.com/software/school01.php)

At the moment, the validation code is minimal as I wanted to get this part working first before worrying about the rest.

Thanks

Rodders
11-22-2002, 03:13 AM
Thank you.

I wasn't aware of the Error Reporting tool on the browser. I shall make a point of switching it on.

Rodders
11-22-2002, 09:21 AM
Can you give us a hint on how i switch this on? I'm using IE 5.5.

Have had a look in Tools > internet options > advanced, but nothing i tried in there worked.

Thanks.