Displaying 5 results from an estimated 5 matches for "option_tag".
Did you mean:
option_tags
2008 Jan 18
1
Values broken converting from rails into javascript
...hanged. Basically i have a method that returns an array of arrays,
where each array is of the form
[name, number]
I then iterate over the arrays, and substitute in the values out of the
array -
<%options_for_select(SubjectFamilyMember.options_for_select(["3"])).each_with_index
do |option_tag, i| -%>
$("subject_family_members[]").options[<%= i+1.to_i %>]=new Option(''<%=
option_tag[0] %>'', <%= option_tag[1].to_i %>, false, false);
<%end %>
When i run this in the console (escaping the quotes), it seems to
produce the right results...
2006 Jul 04
4
Please help me
Hi all,
I''m getting the list of my projects in the page. But i want to get
the list according the month, i.e., if i select july in the drop down
then i should get the
list of projects done in the month of july..
Please reply..
Regards,
Harish
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
4
drop down list
hello friends ,
can u pls tel me how to add drop down list in railsapplication
--
Posted via http://www.ruby-forum.com/.
2006 Feb 10
0
AJAX update for select list onchange?
Hi Rails Users,
I have a select list that I''d like to use to update a div onchange.
Right now I just have the div appear, but not update:
<%= select_tag( "profiles_select", option_tags = @profiles,
{ :onchange => "new Effect.Appear(''the_profile'',
{ duration: 0.5 } );"
} )
%>
@profiles is a list of option tags something like:
<option value=1>Profile 1&l...
2006 Jul 04
13
NewBie question
Hi,
I m very new to Ruby.
I bought a book "Ruby on Rails" and I think I understand some concepts.
My question is :
Is there a way to not use "Cookies" or "Sessions Variables" to keep some
information about the user.
I ask this question because I would like to prevent some cases where the
user browser won''t accept cookies.
I m from Asp 3.0, and I