Displaying 3 results from an estimated 3 matches for "ohmyrubi".
Did you mean:
ohmyruby
2008 May 01
5
Changing text in view with variables
in my view:
<% if @main_singer_1 == @your_singer %>
<% if @main_drummer_1 == @your_drummer %>
i want to have this in a loop so i can change _1
How would I do this.
I have some idea but I am not sure.
[1..20].each do .....
and then replace _1 with each of the numbers
or if someone can show the code to do this.
number = "1"
<% if
2008 May 05
1
Passing values selected with onchange remote_function
How do i pass the value selected from a drop down selection and then
extract it in rjs
<% select("what", "hello", @selection, {}, {:onchange =>
remote_function(:url => "test", :my_variable => "hello again") } ) %>
thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2008 May 06
2
onchange error - InvalidAuthenticityToken
VIEW:
<select id="hello" name="me" onchange ="new Ajax.Request(''.......'')>
<option value = "344" selected="selected></option>
Can you enclosed this onchange here dynamically?
the Ajax.Request i post come back with an InvalidAuthenticityToken
error.
I don''t know where to strart on resolving that so I am