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");});
精彩评论