I am trying to concatenate a few strings and variables, but am having trouble because whenever I validate the page, it tells me that the quote after the a href must be literal.
http://validator.w3.org/check?uri=ht...pe=Inline&ss=1Code:<li><script type="text/javascript">document.write("<a href=\"" + wgServer + wgScriptPath + "/index.php?title=Special:Search\"><img src=\"http://wikiskinz.byethost7.com/forums/images/toplinks/search.gif\" alt=\"\" />Search</a>");</script></li>



Reply With Quote

Bookmarks