did you try this?  The important part is the onload="myform.reset()"

<cfoutput>
<body onload="myform.reset();">
<form method="post" name="myform" >
 <select>
 <cfloop from="1" to="10" index="i">
 <option >Item #i#
 </cfloop>


 </select>
 <input type="Submit">
</form>
</cfoutput>

Craig

----- Original Message -----
From: "Troy Montour" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 3:37 PM
Subject: Re: Need to reset the page if someone clicks back


> Fregas,
>     well yes on refreshing.. reason I need to is I have a select statement
> on the page and I need it to go back to default when the page loads if
they
> click the back button.
>
> and I tried the no-cache in the meta tag and that didn't work.
>
> Thanks
> Troy
>
> ----- Original Message -----
> From: "Fregas" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 13, 2002 3:21 PM
> Subject: Re: Need to reset the page if someone clicks back
>
>
> > You are saying that if someone clicks "Back" you want the page to
Refresh?
> > (not reset)
> >
> > You should be able to put in an HTML meta tag that will tell the page
not
> to
> > cache.  But that's all I can think of off hand.
> >
> > Craig
> >
> > ----- Original Message -----
> > From: "Troy Montour" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 13, 2002 3:13 PM
> > Subject: Need to reset the page if someone clicks back
> >
> >
> > > Hello everyone,
> > >     Quick question...
> > >
> > > I need to make sure the page resets if someone clicks back.
> > > is there away to do it with CF or do I need to use something else?
> > >
> > > Thanks in advance
> > > Troy E. Montour
> > > Vampires Inc
> > > 4663 Main ST NE
> > > Fridley, MN 55421 United States
> > > H: (763) 571-3872 | M: (612) 867-6831 | F: (763) 586 0552
> > > [EMAIL PROTECTED] | www.vampiresinc.com
> > >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Reply via email to