Reset the value of a textbox
I call a function with the onblur and as parameter passing a certain value, like this:
When it appears that within the function the value is wrong I want to set the value to "0", but I have about 100 textboxes in which it can be wrong. How do I manage that ?
Code of the function is e.g. as follows:
if (value>=1 && value<=8)
AND NOW the value of the calling textbox should be "0"
Help is appreciated, rgds Ger.
But I think you should call the CheckNum function with the textfield as parameter,
not its value, like;
Then you don't have to worry about which field it is.
Anyway... thanks for your help,
regards from Holland, Ger.
By Miles Tones in forum VB Classic
Last Post: 06-30-2005, 12:57 PM
By hoyaabanks in forum ASP.NET
Last Post: 06-09-2005, 12:35 PM
By David Chu in forum .NET
Last Post: 01-09-2003, 05:50 PM
Last Post: 03-12-2002, 02:55 PM
By Marat Musaev in forum XML
Last Post: 11-02-2000, 08:54 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL