![]() |
add a Clear button on the orders.tpl
On the orders.tpl where the searches are made for orders. How can I add a clear button; that will clear any all data entered in the the input fields?
So if I made a search for orders purchases made for $50, then when I get back to the orders page i select the clear button and it will clear any input that was entered into the search fields? |
A typical clear form button should work....input type="reset"
|
I made the clear button like you described below.
Code:
<INPUT type="reset" value="Clear" > It works when write text in an input field and then select the clear button clear the inputed text. If a search is submitted and I click on the "clear button" the text in the input field doesnt clear. How can I get that to clear? |
All times are GMT -8. The time now is 12:03 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.