Web Development

Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Reset Not responding

By sp_bannore ·
I am using one dropdownlist to select cities
and search button and reset button

when i use tab and set focus to reset button and hit enter Key .It dont respond
I have used following code in html view
in Head:
<script language="JavaScript" >
function ResetForm()
document.Form1.txtCity.value ='' ;

In Body:

<input type="button" id="button2" runat="server" value="Reset" onclick="ResetForm()" NAME="button2" >

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums