StructCLear function questions
hI I have quite a few session and form variables being passed through 3 or 4 pages. I want to be able to allow the user to clear these variables by the use of the StructClear() function. I have a reset button on my form page, but tried several ways to include the function in that button with no success. Is this possible?
I also have a linked text that I could insert this function in as well. I tried the onClick js, but that didnt work either.
Here is the text with the onclick I tried:
<cfscript><a href="template.cfm" onclick="StructClear()"></cfscript>Write Another File</a>
Here is the reset button I would like it in as well.
<cfinput type="reset" name="reset" id="reset" value="Reset" />
Thanks for any help!
