Nu börjar det dra ihop sig, behöver lite hjälp till.
I en show.inc.php fil så finns denna kod som genererar ett jscript:
Kod:
$CN_remember_include = "<script type=\"text/javascript\" src=\"$config_http_script_dir/remember.js\"></script><script>CNreadCookie();</script>";
$CN_remember_form = "onsubmit=\"return CNSubmitComment()\"";
Nu så validerar den inte riktigt och jag vågar inte ändra hur som helst.
Som jag fattar det så behöver den typ="text/javascript" som redan finns ?!
<script type=\"text/javascript\" ...
Kod:
Error Line 165, column 96: required attribute "type" not specified .
...utenews/remember.js"></script><script>CNreadCookie();</script><div style="mar
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.