A
Andrew at work
hi , i've problem with this method :
history.go(-1)
my scenario :
i ' ve page "new.asp" with a form tha submit data ,
if error occured page redirect to message page that show the error
message and here i've a link with onclick = history.go(-1)
If the page is call from a page "menu.asp" with window.open , when
i click on message page to go back to new.asp page all controls in form
are cleared ,
instead if i call new.asp from a list.asp page with href=new.asp there is no
problem and if i perform history.go(-1) , all works great and controls
remember
the values .
Why ? Anybody can help me ?
If it's can help i see that in first case the document.referrer value is =
'' and in
other case is = 'list.asp'
thx a lot in advance
andrew
history.go(-1)
my scenario :
i ' ve page "new.asp" with a form tha submit data ,
if error occured page redirect to message page that show the error
message and here i've a link with onclick = history.go(-1)
If the page is call from a page "menu.asp" with window.open , when
i click on message page to go back to new.asp page all controls in form
are cleared ,
instead if i call new.asp from a list.asp page with href=new.asp there is no
problem and if i perform history.go(-1) , all works great and controls
remember
the values .
Why ? Anybody can help me ?
If it's can help i see that in first case the document.referrer value is =
'' and in
other case is = 'list.asp'
thx a lot in advance
andrew