Displaying 2 results from an estimated 2 matches for "to_question_item_form".
2006 Jun 06
0
Get value from form using rjs, and problem with Safari
...:include_blank => true},
{ :onchange => remote_function(
:url => {
:action => :change_div,
:id => "form"+row.to_s + "_" + col.to_s } ) } )
end
def to_question_item_form
id = params[:id]
remote_function( :url => { :action => :change_div,
:id => id } )
end
admin_controller:
def change_div
pos = args_id(params[:id])
html_options = { :class => "change" }
render :update do |page|...
2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
...s, "col"+col.to_s, %w{ Text Rating3
Rating4 ListItem GrantAccess},
{:include_blank => true},
{ :onchange => remote_function(
:url => { :action => :change_div,
:id => "form"+row.to_s + "_" + col.to_s } ) } )
end
def to_question_item_form
id = params[:id]
remote_function( :url => { :action => :change_div,
:id => id } )
end
admin_controller:
Code:
def change_div
pos = args_id(params[:id])
html_options = { :class => "change" }
render :update do |page|...