i want to show the number of register user's on my site. I want that this field automatically refreash without refreshing the whole page. please some one guide me
Take an Ajax approach, but this is not purely Javascript. you will need a server-side script to hit your database or session (or however you are tracking current registered users) to retrieve the data and pass it back to your JS function.