Development Experience

Thursday, September 27, 2012

How to set Textbox readonly in Jquery


To set textbox readonly in JQuery you need to use the following code below.

<script type="text/javascript">
        $(document).ready(function () {

              $("#TERMINALID").attr('readonly', true);
        });
    </script>

No comments:

Post a Comment