Do you just mean a form reset input button? <input type="reset" value="Reset!">? You lost me on the "but instead using the browser's button.. what button?

On Nov 13, 2008, at 11:00 AM, Brett Patterson wrote:

How do I get a form field to reset itself back to its default value if the user has changed it?

Without clicking on a refresh/reload button on the page but instead using the browser's button.

The XHTML Transitional code I have is:

<td><div class="inmiddleof">
          <label for="hsQty"></label>
          <form action="" name="heartSearch">
            <select name="hsQty" id="hsQty" onchange="proc()">
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
                    </select>
                    </form>
        </div></td>

<td><div class="inmiddleof">
<form action="" name="hSearchoutput">
<input type="text" name="hsTotal" id="hsTotal" />
</form>
        </div></td>



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to