Link to home
Start Free TrialLog in
Avatar of ShaneJones
ShaneJonesFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Incrementing a counter and displaying content based on counter value

I have 5 links and when a user clicks on them I want to increment a counter in the session (without changing the URL.)

When the session counter reached 5 I want a div to be created on the fly

ANyone know how I can increment the counter in the session on click without changing the page URL
ASKER CERTIFIED SOLUTION
Avatar of Kin Fat SZE
Kin Fat SZE
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Other method, create a from in iframe tag to be hidden. pass your master form value to iframe tag and submit.
BUT, I am not suggest to do that....
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial