开发者

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("");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜