<select id="node_id" name="node[id]" onchange="document.location.href = '/buildshelf/' + $F("node_id").value + ">
On Feb 23, 7:43 pm, groovetrain <[email protected]> wrote: > What is the HTML that is rendered from that? > > Groove > > On Feb 23, 8:24 pm, Me <[email protected]> wrote: > > > I have this select statement, trying to change to a page that is the > > value of the select: > > > <%= select(:node, :id, $shelves,{:prompt =>'Select Equipment'}, > > { :onchange => "document.location.href = '/buildshelf/' + $F(\'node_id > > \').value + ' "} ) %> > > > How do I make this happen? > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

