开发者

jQuery.get the success parameter

开发者 https://www.devze.com 2023-04-08 08:41 出处:网络
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.

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

精彩评论

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