On Mon, Jan 18, 2010 at 6:19 AM, for...@gmail.com <for...@gmail.com> wrote: > Hi, can you tell me the alternative to make it only work on the select > 'a'
Simplest way is to give the 'a' an id: <a id="alias-box-link" href="#alias-box" style="font-size:10px;">Custom Alias</a> Then set its click handler this in the Javascript like this: $('a#alias-box-link').click(function () { Otherwise, depending on what else you have going on, you could do something like what Waseem suggested or something like this example: http://jsbin.com/aqoti/edit Nathan