Displaying 2 results from an estimated 2 matches for "ingredient_list".
2006 Apr 14
11
Whats the best Ajax way to update a textarea''s text?
I am looking for a way to update the text-value within a textarea from
an Ajax render call inside of a controller. Is there a way to do this
without rendering an the partial containing the textarea?
Thanks,
Andy
--
Posted via http://www.ruby-forum.com/.
2006 Apr 20
0
Clearing text_field_tag -- Help PLEASE
...t''s clearing pretty much the whole page. I would ***really*** appreciate some help!
The page has a form that allows the entry of two fields. The form exists inside a <div> with id=entry. When the user clicks the button, a new line is added to the page inside a <div> with id=ingredient_list. The user can add as many lines as they want. I want to clear the fields each time they click the button. What''s happening instead is that the entry <div> and everything above it on the page is getting wiped out. The code is below. Any ideas?
Thanks in advance,
Bill
--- Here...