Hi Charanya,
Or try using unobtrusive JavaScript by giving the field a unique id and then hooking up the action to that id. With jQuery it is very simple.
To get the field just use:
$('#uniqueid')
and then you can chain any function to the element.
HTH, Schalk
Charanya Nagarajan wrote: