Displaying 1 result from an estimated 1 matches for "posting_subject".
2006 Jul 05
2
RJS - Getting and Setting Form Element Values Question
I''m still a beginner with RJS so forgive me if this is a simple one -
but certainly it doesn''t seem logical and googling has not led to .
Given a field with an id of ''posting_subject'' I can do the following in
my controller with RJS.
render :update do | page |
subject = ''this is really something
page[''posting_subject''].value = subject
end
And we sing and rejoice. But why can''t I do
render :update do | page...