Hiding form when clicking outside field

im guessing this is somethign to do with prototype but i want a form
which comprises of one field to disapear if the user clicks anywhere
outside of that field. Ive seen this doen on rememberthemilk.com but not
sure how its done in rails.

if anyone could point me in the right direction id appreciate it.

Hi Adam,

On Mon, 2009-02-23 at 13:38 +0100, Adam A. wrote:

im guessing this is somethign to do with prototype but i want a form
which comprises of one field to disapear if the user clicks anywhere
outside of that field. Ive seen this doen on rememberthemilk.com but not
sure how its done in rails.

if anyone could point me in the right direction id appreciate it.

You might just be able to add onBlur=“$(‘form_name’).hide()” to the text
field.

HTH,
Bill

thanks bill,

ill research into that more