How to bind change event to dynamically generated textbox?
$("#searchtext").change(function()
{
alert( "Handler for .change() called." );
});
$("#textbox1").live('change', function(){
value = $("#textbox1").val();
alert(value);
});
Both of the above functions are not working for me. Any suggestions?
keyuporfocusevent instead ofchange