[jQuery] after updating the html for a select list, the .change event no longer works
Is there something that I need to do after I empty a div that contains
a select list with id 'test' and then post new html to that div for
that select list that has the same id 'test'? It seems that after I
change the html, the select list with that id is no longer working.
In other words, this function doesn't work anymore:
$('select#test').change(function() {
...
}