ajax - Javascript error -


Error: Invalid regular expression flag b source file: line: 4, column: 1 source code: url: / html /

Error: Home / Blog,

  $ ("# blog"). Click (function () {var url = $ (this) .attr ("href"); $. ({Url: / home / blog, type: "POST", success: function (html) {$ ("# SomeDiv "). Attachment (html);}});  

});

I do not know what the error is, should my URL be in the string? What am I missing?

You want the url to be "home / blog"


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -