So this is a simple Counter
It will count your input
Be it numbers, characters or, "empty blanc_steps"
The problem with JavaScript is that you can not save
Those numbers in your Homepage at your providers WebServer.
without using serverincludes
or cgi or.... etc etc
(;
as far as i know, but,
do prove me wrong ; )
You can put them inside other peoples
Browsers as "Coocies".
but that's about all.
it will not help you to find out how many that's been there
f ex.
here's the code
function Slinga()
{
var Antal = prompt("Gu'day , state me
thy bui$ne$$ ","")
for (var i=0; i < Antal.length; i++)
{
//
if you want to show the count
//alert("It's now "+ i + " digits long right")
//
take the "//" above away
}
// is "i" + one..
alert("It's "+ i + " digits ")
alert("I said "+ i + " digit's, can't
you read? ;)")
}
And after
</HEAD> <BODY TEXT=..... >
you put
<INPUT TYPE="button"
NAME="fill" VALUE="Let us count..." onClick="Slinga()">
...
</BODY>
</HTML>