Click here to Skip to main content
15,999,861 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am using single javascript code in my all web pages. I used a counter variable to count the number of links opened from the respected page. when the first page called js code the variables get declared and defined. if i opened 5 links from first, the value of the counter will be 5. So if i open a link from the already opened link, the counter value should increment to 6 and so on but in my case its again defined and begins with zero.

pls anyone let me a solution..

Thank you..
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900