I'd like to enable the textbox when it is clicked. However, when I click the textbox, nothing happens. I believe it is a problem with the jQuery selector. Why isn't this working?
<script> $(document).ready(function() { $(':input').click(function() { $(this).removeAttr('disabled'); }); }); </script> <input type="text" value="123" disabled="disabled" /> Note: I tried both $('input') and $(':input') to select the textfield. Neither worked.
clickevents.