[jQuery] Select box help from ajax
Hello
I want to associate a select box coming from ajax to change function
of form which is defined in the page. Can anyone help me
$('#frmNewDev select').each(function()
{
$(this).change(function()
{
if(this.id != "sl_developer")
{
var load_image = "<img src='http://" + this_domain + "/images/
common/loading.gif' />";
//$('#nn').html(load_image);
$.get('http://' + this_domain + '/cp/ajax_cp_locality.php',
{cat_id: this.value},
function(str) {$("#nn").append(str);});
return false;
}
});
});
I m using above code for associate all select box with this function
....but select which are coming from ajax page are not associated....how
can I associate that select box with this function. thnx