|
-
Jun 24th, 2007, 06:41 AM
#1
Thread Starter
Addicted Member
add javascript event after the asp net valid
I have a text box with RequiredFieldValidator and RegularExpressionValidator
I add to this text box another event "onchange"
<asp:TextBox onchange="check_Available(this.value)" ID="siteName" MaxLength="100" runat="server" Width="250px" ></asp:TextBox>
my problem is that the event run either the validtor not good.
how can I in javascript run the function just if the page valid.
(not all page just this text box)
thanks!
-
Jun 25th, 2007, 10:00 AM
#2
Re: add javascript event after the asp net valid
I am having a hard time understanding what you're asking, but you can use siteName.Attributes.Add() and add your javascript there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|