I was making a Webpage.
I have to use onClick() function in <SELECT><OPTION> statement.
Purpose is when i click on any value in LIST, it must show data extracting from DB to screen
when i put onClick() in <Option> statement, then it works on Firefox but not on IE7 and IE8
When i put onChange() in <select> statement, then it woks on both, and i want this, and problem is there. kindly read further
to solve either i can use servlets, but i do not want to generate dynamic page all the time.
Please be sure to use code tags when posting code to the forums. Unformatted or unindented code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please click this link ⇒ UseCodeTags ⇐ for more information.
Properly indented and formatted code greatly increases the probability that your question will get quicker, better answers.
You should use good habits all the time. Not just later. Scriptlets have been discredited for over 8 years now. You should be using the JSTL and EL in your pages.