Tag Archive for "jquery" tag

jquery

April 27th, 2011 by usage | 0

How to set focus on first visible input box <script type=”text/javascript”> jQuery(document).ready(function($) { $(“input:text:visible:first”).focus(); }) </script> If you have embed code the code below selects the text when the user clicks on the textarea. Also the text area is readonly so the user can’t accidentally delete or cut fewer characters. <script type=”text/javascript”> jQuery(document).ready(function($) { $(“.embed_code”).click(function() […]