ChrisRChamberlain
Programmer
Hi all
If you navigate, programatically or otherwise, to a non-existant webpage, your browser should then display an error page.
One somewhat clumsy and not necessarily reliable way of determining programatically that you have an error page displayed is to check the document.title string for the existence of "404", or the document.body.innertext string also for the existence of "404".
Betters ideas, please?
TIA
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
PDFcommandertm.net
PDFcommandertm.co.uk
If you navigate, programatically or otherwise, to a non-existant webpage, your browser should then display an error page.
One somewhat clumsy and not necessarily reliable way of determining programatically that you have an error page displayed is to check the document.title string for the existence of "404", or the document.body.innertext string also for the existence of "404".
Betters ideas, please?
TIA
FAQ184-2483 - answering getting answered.
Chris ![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
PDFcommandertm.net
PDFcommandertm.co.uk