Re: how do you reset a form in a dialog?
> see this demo for an example (view the source):
> Note also that reset() returns the fields to their starting values
> (that is, the values specified in the original html), so if you have
> this in your page's form:
> <input type="text" name="x" id="x" value="123">
> And then you change that field to 789, when you call reset, it will
> not "clear", it will reset to 123.
> Note that YUI doesn't really involve itself in the <form>, but be
> sure to learn about the wonderful YAHOO.util.Connect.setForm call
> which gathers up all the form fields and values for you to use in an
> async call (versus really doing and old-school page submit/redraw
> cycle). ;-)
> Hope that helps...
it didn't work.
the form is quite simple:
<form name="myForm" method="GET" action="somescript.php">
<label for="someinput">test:</label><input type="textbox"
name="someinput" value="" />