I have two text boxes (select) which I want to change the contents of the second according to the selection of the first. I draw them with jQuery functions and handle the event like that as well. But I think I am mistaken to handle the event of changed selected index of the first one by jQuery because the page would have already been loaded. So any suggestions how to solve that out?
Share
not sure what you mean, but if you want your second drop-down be populated depending on the first one by the time the page loads, you either populate it with PHP when dynamically creating a page, or you could trigger changed event with jquery like: