jQuery/JS : empty field after success?
at my ajax call success i wish to empty the field.
success: function(msg){
$(wrapperId开发者_开发知识库).prepend(msg);
}
}
I tried this:
success: function(msg){
$(wrapperId).prepend(msg);
$('#message').html("");
}
}
But it wont work
$('#message').val("");
精彩评论