Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 06/14/2007

Interesting Things

  • Brown-bag lunch topic today: “Smalltalk is dead — long live Smalltalk!”

    Ask for Help

  • “How can we get a drop-down list/select box to change our browser’s URL? We want people to see forum posts from the ‘Last 7 Days’, so the URL should change when they choose that from the select box.” One option is to wrap it in a form and use the onChange() JavaScript event hook to submit the form:

<code>
<% form_tag(:controller => forum, :action => :filter) do %>
  <%= select_tag('recent', options_for_select(filters]), {:onchange => "this.form.submit();"}) %>
<% end %>
</code>

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *