posted 19 years ago
Hi all,
I have three combo boxes and the selection of the 1st one changes the data in the second and thrid combo box. I'm doing this right now, by calling the refresh javascript on the onChange event of the combo box.
But i no longer like the refreshing of the page, so i thought it would be best if i could write a code, to generate the Javascript that i require, and call it on the onChange event of the combo box.
After searching this forum, i got this link which helped me in populating dynamic data through javascript. I'm pasting the code below:
I know how to write a class file to generate the JS file, but i don't know how to call it from the onChange event of the combo box.
In this case, calling the redirect method from the onChange event of the first combo box from the external JS file.
Can plz some one guide me as to how i should call the external JS file from the onChange event of the first combo box to populate data in the second combo box.
Thanxs in advance.