Hi All,
I appreciate your time guys. If you scroll down to the end of the page given below, you will see that the submit button is disabled. It is disabled from <body onload(...)>. If you check the checkbox above the submit button and click the button right afterwards, the button will appear enabled. I am trying to get the button to appear enabled just by checking the checkbox and without any extra actions. If you check my source code, then you can see that I do use focus(), but it doesn't work until u click somewhere on the page after checking the checkbox. Any suggestions? Thanks.. I appreciate any help!
The function with the focus() method is outlined in the source code with: //***** THE PITFALL ******
And the submit button and checkbox is in that last few lines of the soure code.
THE URL:
I appreciate your time guys. If you scroll down to the end of the page given below, you will see that the submit button is disabled. It is disabled from <body onload(...)>. If you check the checkbox above the submit button and click the button right afterwards, the button will appear enabled. I am trying to get the button to appear enabled just by checking the checkbox and without any extra actions. If you check my source code, then you can see that I do use focus(), but it doesn't work until u click somewhere on the page after checking the checkbox. Any suggestions? Thanks.. I appreciate any help!
The function with the focus() method is outlined in the source code with: //***** THE PITFALL ******
And the submit button and checkbox is in that last few lines of the soure code.
THE URL: