thanx mit, but i need a code which wud work xactly as "javascript:history.back()", if i use document.referrer n i goo from page 1 to 2 to 3, then clicking the back button of 3 takes me to 2 n clicking back of 2 again takes me to 3 instead of 1. "javascript:history.back()" does the trick but i need an alternative, is there any code to get the url of "javascript:history.back()"?
regards,
JK