search for: textboxid

Displaying 1 result from an estimated 1 matches for "textboxid".

Did you mean: textbox
2007 Oct 26
2
Appending to a textarea with RJS
Ok, this is driving me nuts. I''m trying to RJS some text into a text_area which may or may not have been written in by the user. if I page.insert_html :before, :after, :top, or :bottom, it either sticks the contents above or below the text box (but never in). If I do: page[:textboxid].value = "blah" it overwrites the contents of the textbox but doesn''t APPEND to it. I''ve tried doing something to the effect of page[:textboxid].value = "blah" + page[:textboxid].value or page[:textboxid].value = "blah" + $#{''textboxid'...