tag:blogger.com,1999:blog-8980734269859237005.post6602697475194252669..comments2024-01-30T01:03:21.768-08:00Comments on DevCurry: Click and Highlight Text in a TextBox using jQuerySuprotim Agarwalhttp://www.blogger.com/profile/08349831623922214390noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8980734269859237005.post-26222672768251454902009-08-24T06:05:26.778-07:002009-08-24T06:05:26.778-07:00One of jQuery's cool features is nested functi...One of jQuery's cool features is nested function-calls. The code could be written as follows instead:<br /><br />$(this).focus().select();<br /><br />This avoids calling the jQuery-function (or $) twice as well as saving some bytes.Unknownhttps://www.blogger.com/profile/07426607653403257155noreply@blogger.com