Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
7
Answers
Asp.net with javascrit
Sathish Pabbathi
11y
1.4k
1
Reply
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>
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
Real time examples for generics and delegates?
Every Clas Student attandane?