Pages

April 25, 2014

Javascript to disallow cut, copy, paste, select in text field


<TABLE align="center">
<TR>
<TD>Card Number: </TD>
<TD>
<input class='FieldText'   type='text' name='cardNo' id='cardNo' size="20" maxlength="16"
oncopy="return false;" onpaste="return false;" oncut="return false;" onselect="return false;"  >
</TD>
</TR>

-K Himaanshu Shukla...



Copyright © 2014 - ScrutinyByKHimaanshu

No comments:

Post a Comment