On Oct 10, 1:54 pm, Jay Pangmi <[EMAIL PROTECTED]>
wrote:
> Thanks Erol Fornoles for the answer.. but I just couldn't make any use
> of it coz it doen't work and I'm using <%=javascript_include_tag
> "prototype.js"%>. To make clear what I'm doing here is my code:

Try this instead:

<%= submit_tag "Next", :onclick => "if($('camp_id').length - 1 > $
('camp_id').selectedIndex) $('camp_id').selectedIndex++; return
false;" %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to