开发者

jQuery.get the success parameter

I am using jQuery.get to send a message to the serve开发者_JS百科r and it works.

I now want to action on the reply I get from jQuery.get and having no luck.

My simple test code to test it works is-

jQuery.get("/www", function(data){alert("it works");});

What do i have to be aware off to get the "success" to work


You are messing up in path I think

jQuery.get("/www/some_script_file", function(data){alert("it should works");});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜