refocus on text_field

I have this textfield that appears as a drop down section whithin a form when a link is clicked - so it is it's own partial. The idea is that a value can be entered within that field and then added to a list, but I need the cursor to re-focus on that text field so lots and lots of values can be inputed without having to reclick on that field everytime.

When the form is submitted I clear the textfield by saying:    :complete => 'document.getElementById("value").value = ""; in my form_remote_tag, but adding this:    document.getElementById("value").focus(); doesn't do what I would like it to do. Anyone have an suggestiosn on how to do this> Thanks,

-S