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 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Vignesh ManiRank #98 · 22.1K reputationPosted Apr 28, 2016, 12:16 PM EDT