Hi all,
I am using jQuery's $.get() to load some content to a div whose id=results :
$.get('dynamicpage.php',
function(data) {
$('#results').html(data);
});
The returned content has got a select in it :
<select id="myselect"><option value="10">10</option></select>
I have already put a listener for the change on this select :
$('#myselect').change(function() {
alert("changed");
});
However, this alert in the listener never gets fired.
Do I need to do something special to access elements in the loaded div from jQuery ?
Thank you !