Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 7th, 2006, 03:13 AM
Registered User
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Reset Not responding

Hi all,
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" >

Old June 8th, 2006, 02:12 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts


Why declare runat="server"? That's looking for a server event instead... not a client event.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not Responding Problem 2007 mateenmohd Access 0 May 19th, 2008 03:12 AM
Not Responding msg.. dpkbahuguna Beginning VB 6 1 August 25th, 2007 11:35 AM
JSTL is not responding? startjsp JSP Basics 0 May 25th, 2006 02:03 AM
Not Responding yagiroy Pro VB 6 6 December 7th, 2004 09:38 AM
IIS stopped responding AviatorTim Classic ASP Basics 7 April 12th, 2004 08:04 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.