About $variables, $hook,...
By: Arshad
31 Dec 2009Code to select the content of an input box on click
//set select when clicking on an input $('input[type=text]').click(function(){ $(this).select(); });
sometimes you want it to occur on focus. replace click(function(){.. by focus(function()...
Hello I'm Arshad. I'm a 21 years old Drupal Web Developer. This is a site i put up for some reasons i can't remember and this is where i write stuffs i need to remember.;)
In the Web world, i head the Drupal Mauritius User Group and the jQuery user Group Mauritius and i'm a campus representative for Mozilla Firefox.