peterinwa
02-24-2003, 10:48 PM
I tried my books and searching this site and gave up so I have to ask this really novice question.
I had a graphic on my page as an href link to another page, but before jumping to the new page I want to write a cookie. So I changed the href to call a function, but can't figure out the syntax to then jump to the new page.
function WriteCookieGoToNewPage(){
saveCookie... this line works fine
location.'pageName.html' target='_top'}
I get the error messages Expected Identifier and Object Expected.
Thanks!
I had a graphic on my page as an href link to another page, but before jumping to the new page I want to write a cookie. So I changed the href to call a function, but can't figure out the syntax to then jump to the new page.
function WriteCookieGoToNewPage(){
saveCookie... this line works fine
location.'pageName.html' target='_top'}
I get the error messages Expected Identifier and Object Expected.
Thanks!