469,271 Members | 1,399 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

asp

Somewhere it was written :

<input name="Submit" type="submit" class="Button" value="Submit" onClick="return validateCatName();">

what exactly
onClick="return validateCatName();"
is doing.
(there is already a function called validateCatName() and this function is returning some value.

Thanks
Sep 7 '07 #1
2 880
shweta123
692 Expert 512MB
Hi,

Can you please specify what do you want to do or what error are you getting?

Why is the function validateCatName for?
Sep 7 '07 #2
jhardman
3,406 Expert 2GB
When you click the button it performs the javascript function "validateCatName()" before submitting. What the function does is dependent on what it says on your page.

Jared
Sep 10 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.