I want to need of onChange() insted of Keyup() but it not working.
Code: Check Email already exist in database or not


$.noConflict();
jQuery(document).ready(function(){
jQuery("#email").keyup(function(){

var name = jQuery("#email").val();

if(name=="")
{
jQuery("#disp").html("");
}
else
{

jQuery.ajax({
type: "POST",
url: "user_check.php",
data: "name="+ name,
success: function(html){

jQuery("#disp").html(html);

}
});
return false;
}

});

});

If you have solution then suggest me.

Thank you.