disabling form elements

K

Kevin Blount

In my form I am using JavaScript to disable elements. For example, if
I untick one checkbox, then a select menu become disabled.

The problem is that if I submit the form with the select menu
disabled, the use the Back button on the browser to return to the
previous page, the select menu is no longer disabled, even though my
checkbox is still unticked.

any clues on how I can retain the disabled status of form elements??

I had thought I could do a which check of the current checkbox checked
status, but this returns 'true', the state the checkbox was when the
page first loaded, it doesn't seem to do another check to find the
current status of the checkbox. Most annoying.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top