Jump to content

Archived

This topic is now archived and is closed to further replies.

Hellusius

I can't post

Recommended Posts

Do you have script tags in your code? If you do add a space around script.

Share this post


Link to post
Share on other sites
I made this little script in the head

[code]< script language="JavaScript">
<!-- Page counter
var Count=20;

Function increaser( )
{
onload="Count= Count + 1";
}

page counter -->
< /script>[/code]

and this little document.write in the body part

[code]< script language="JavaScript">
document.write("Total page views: " + Count + "<br />");
< /script>[/code]

but nothing is being displayed, when I only do the text, it does but whenever I add the variable it doesn't anymore

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.