Link to home
Start Free TrialLog in
Avatar of ken_frey
ken_frey

asked on

Skip page on future visit with checkbox

I have browsed through the questions here and found some helpful but incomplete for what I need. I would like to write a value in a cookie with a checkbox. In my 'intro' page there will be a checkbox that a user can select to automatically forward the user to the main site when the checkbox is selected. How can I do this with JS? I can find the code to set a cookie and read it so that after the first or even x number of times visited will automatically foward to the next page but I would like the user to select it instead of automatically doing it after the first time.
ASKER CERTIFIED SOLUTION
Avatar of gator4life
gator4life

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
Avatar of ken_frey
ken_frey

ASKER

Thanks guys, looks like exactly what I needed. I'll try it a little later and get back with you. Again, thank you very much.