Displaying 2 results from an estimated 2 matches for "grantaccess".
2006 Jun 06
0
Get value from form using rjs, and problem with Safari
...;) %>
</div>
</div>
<%= submit_tag ''Send'' %>
<%= end_form_tag %>
helper:
module AdminHelper
def q_item(row, col)
return select("row"+row.to_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 } ) } )...
2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
...t; "change") %>
</div>
</div>
<%= submit_tag ''Send'' %>
<%= end_form_tag %>
helper:
Code:
module AdminHelper
def q_item(row, col)
return select("row"+row.to_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 =>...