开发者

jquery file uplaod form plugin response issue

开发者 https://www.devze.com 2023-01-07 20:36 出处:网络
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?

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

精彩评论

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

关注公众号