开发者

jquery file uplaod form plugin response issue

I find form plugin interesting and i want to know that how i can embed ajax response in html text area in asp.net mvc 2. any idea?

Here is the link of that control http://jquery开发者_如何学运维.malsup.com/form/#file-upload


You could use the success callback which will be invoked once the AJAX request succeeds and update the contents of your textarea:

$('#myForm').ajaxForm({
    success: function(result) {
        $('#txtArea').val(result);
    }
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜