I use this code to fill select options based on the first select. That works just fine. But when I submit the form (still using ajax), and then try to pick a different select option, the last select turns blank.
You can see it in action here, so you know what I mean. I’m not that comfortable with jQuery, perhaps that’s the problem here. =)
Any ideas? Thanks guys.
You’re using named indexes and an implied global, so your
gameshould be defined differently, this:should be: