The entity name must immediately follow the '&' in the entity reference. Blogspot template
November 14, 2015 by Sandeep Bhardwaj | Tags: JavaScript
Some times when we write some JavaScript on blogspot template we got this error
“The entity name must immediately follow the ‘&’ in the entity reference.”This error come if we have some and condition in our JavaScript like
if(document.getElementById && !document.all){
// do something here
}
Here is the simple solution of this just replace the & with &.
if(document.getElementById && !document.all){
// do something here
}
Post you valuable comment if this solution works for you.