Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Thursday, 29 March 2012

RESTRICT MANUAL DATE INPUT USING JAVASCRIPT EVENTS


To simply restrict manual date input in a asp:textbox that shows a popup calendar use 

onKeyPress = "javascript: return false;" onPaste = "javascript: return false;"           onCut="javascript: return false;"