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
Post a Comment