I am beginner with jQuery and have simple question with it.
My php script is:
<html>
<body>
<?php
$counter = 1;
while ($counter<=10) {
echo $counter;\\want jquery counter here which run on screen from 1 to 10
$counter++;
}
?>
</body>
If i run this script, I get the following output, like 12345678910
My question is, how can i reproduce this in jQuery, so that i can get counter on my screen, which run from 1 to 10 at one place, & final output on screen will be 10.
If possible, please post full script, it will be really helpful to progress faster in this field. I try other sources, but their scripts are not for beginners like me in jquery field. Thanks.