Displaying 2 results from an estimated 2 matches for "choice2".
Did you mean:
choice
2006 Apr 22
3
Creating a select dropdown box with links to methods
...cally
I have my dropdown box:
<%= form_tag :action => ''select_view'' %>
<strong>Select a View:</strong>
<select id="selection" name="selection">
<option value="choice1">Choice 1</option>
<option value="choice2">Choice 2</option>
</select>
<%= submit_tag("View") %>
<%= end_form_tag %>
Then I have a methond in my controller that based on the selct box
selection, redirects to a different method/view:
def select_view
# Depending on the selection, redirect to...
2006 Nov 30
12
Disable autocomplete (Ajax.Autocompleter) on the fly.
I''m sure there is an easy way to do this, but it is one of those things
that is incredibly difficult to search for.
How can I disable an ''Ajax.Autocompleter'' element from working ''on the
fly''? I have a page where I''m using two (I know it''s crazy)
Ajax.Autocompleter elements and once one of them has got a result I
want the other field