Reputation: 3
So I got this error when I'm going to save my blogger template. Here's the script :
var id = "d0f0e33bec6076b0a9e816d1bc2ab07c";
var redirect = "http://cur.lv/redirect.php?id=" + id + "&url=" ;
var links = $("a[href^='http']");
can some body help me? the error marked on "var redirect" I need a quick response, thanks in advance.
Upvotes: 0
Views: 448
Reputation: 27082
Use &
instead of &
:
var redirect = "http://cur.lv/redirect.php?id=" + id + "&url=";
Now you have there invalid (and uknown) entity &url
(&url;
is expected) and XML parser returns an error there.
Upvotes: 2