hi all,
I have added a filter with a static select list to my list of entries and would now like to add a clear button to it.
this is my code so far:
could somebody pls advice how to get the clear button to work pls? I suppose I need some JS...
best regards
Gabriela
I have added a filter with a static select list to my list of entries and would now like to add a clear button to it.
this is my code so far:
<select name="fltr[Entries][type]" id="fltr[Entries][type]">
<option value='0' ><?php echo JText::_('OPTION0'); ?></option>
<option value='1' ><?php echo JText::_('OPTION1'); ?></option>
<option value='2' ><?php echo JText::_('OPTION2'); ?></option>
</select>
<input type='submit' name='filter' id='filter' value='Filter' />
<input type='button' name='clear' id='clear' value='Clear' />
could somebody pls advice how to get the clear button to work pls? I suppose I need some JS...
best regards
Gabriela