This topic is locked

How to clear the _list.asp page keyword field

8/22/2007 4:20:49 PM
ASPRunnerPro General questions
G
gwr477 author

I would like to have a Reset button or someway of clearing the keyword field in the _list.asp page. <INPUT class=button type=reset value=Reset> does not clear the keyword field.

Sergey Kornilov admin 8/22/2007

What is the keyword field?

G
gwr477 author 8/22/2007

What is the keyword field?



Input tag in the _list.asp page is <INPUT id=ctlSearchFor {if $useAJAX} autocomplete="off" onkeydown="listenEvent(event,this,'ordinary');" onkeyup="searchSuggest(event,this,'ordinary');" {else} onkeydown="e=event; if(!e) e = window.event; if (e.keyCode != 13) return true; e.cancel = true; RunSearch(); return false;" {/if}

{$search_searchfor}>

Sergey Kornilov admin 8/22/2007
<INPUT class=button onclick="document.getElementById('ctlSearchFor').value = '';" type=button value=Reset>