| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
add a Clear button on the orders.tpl | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
x-cart 4.0.16v linux server |
|||||||
#2
|
|||||||
|
|||||||
![]() A typical clear form button should work....input type="reset"
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I made the clear button like you described below.
Code:
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?
__________________
x-cart 4.0.16v linux server |
|||||||
|
|||
X-Cart forums © 2001-2020
|