hi friends how to restruct keypress in textbox (i mean to avoid manual keypress) here i posted my code actually i restructed keypress event pageload using jquery..but i want when ever user enter textbox we have to restucted keypress plz give me quick reply.
ErrorMessage="Required Date Of Birth" ValidationGroup="emppersonel" ValidateRequestMode="Enabled">
HighlightCssClass="highlightReq">
heremy jquerycode
.................................
$(document).ready(function ($) {
$('#<%=txtDOB.ClientID%>').keypress(function () {
return false;
});
......................
above code is working pageload textbox keypress restructed .but my requirement is i have to restructed anytime(the text box is callenderextender i meen we have to select date by using calenderextender)
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Vignesh ManiPosted Apr 28, 2016, 4:16 PM