Thanks Tim!

-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 2:48 PM
To: CF-Talk
Subject: RE: return to search page


<CFIF Getpo.recordcount is 0>   
        <script language="JavaScript">
                        alert('Record(s) Not Found - Please click OK to
Search Again');
                        window.history.go(-1);
        </script>       
</CFIF>

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:37 AM
To: CF-Talk
Subject: return to search page


Hello,

I have a alert popup when the user enters data not found via a search page:

<CFIF Getpo.recordcount is 0>
<cfoutput>
<Script Language = "Javascript">
alert ("Record(s) Not Found - Please click OK to Search Again");
</script>

What additional JavaScript code can I add to make the original search page
appear after the user clicks OK on the "Record(s) Not Found - Please click
OK to Search Again" popup? I'm thinking history(-1)??

Thanks.

Robert O.


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to