开发者

jquery ajaxsuccess call results in blank page and hang

I am trying to save data into a variable like so (so i can keep track of what was posted to jquery)

$(document).ajaxSuccess (function product(a, b, s) {
    document.write('url: ' + s.data);
});

I am using flexigridlink text and the above code is printing out the correct data, but preventing flexigrid to load, and hanging the page. So I get a white page with the posted url printed out. I also get "failed to load source" in firebug.

i am wondering is it a similar problem to this? link text

Iv开发者_JAVA技巧e been trying for 3 days now to work out how to get the posted data from this script, so any ideas would be much appreciated :)

Cheers

Ke


if you do this

document.write('any thing'); // it will display white screen with string passes

in spite of doing document.write do something like this

<div id="target"></div>
jQuery('#target').append(s.data)

Iam not very sure this your requirement or not. Please provide more code if you are looking for some thing else.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜