COMMUNITY: How to properly ask a question on Forums
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Sathish Pabbathi
1.5k
118
37.3k
Asp.net with javascrit
Apr 12 2013 2:38 AM
in THE BELOW CODE OnClientClick not Firing plz Help me for this problem...
<script>
function CheckValid()
{
var txt1 = document.getElementById('txtEmpFName').value; // textbox 1 ID is txt1
if (txt1 ==0)
{
alert("plz fill the employe's First name!!");
}
else
{
alert("are you sure you want to add reord?");
}
}
</script>
<form>
<asp:Button ID="Button11" runat="server" Text="Save" class="btn save"
OnClientClick="return CheckValid()" OnClick="Button11_Click" ValidationGroup="a" />
<form>
Reply
Answers (
7
)
Real time examples for generics and delegates?
Every Clas Student attandane?
"