<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.
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
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