search for: roryhansen

Displaying 11 results from an estimated 11 matches for "roryhansen".

2006 Feb 07
4
Dynamic url with javascript? - Help Please
Hi, I''m trying to call a remote function when a combobox option is selected, passing as an argument the current value of the combobox (paramenter "panel_id": <select id="server_interface_jack_switch_panel"
2006 Jan 06
3
Countries -> Cities Select box
I am trying to play with a Countries -> Cities dynamically updating select box.that is if someone selects a country then all the cities of that country must be listed.Does anyone know of any data source for this? I searched for it but couldnt find any good usable source. Better still is there a module which I can mixin for this? Thanks Vivek -------------- next part -------------- An HTML
2006 Jan 10
1
[AJAX] related drop-down list question
Hi all, I followed the example on: http://www.roryhansen.ca/?p=9 for creating related drop-down lists. However, this code actually creates HTML in the controller component: @albums = Album.find_all_by_artist_id(@params["artist_id"]) @html = "<select id=''album_id'' name=''album_id''>" @html += &...
2006 Mar 22
1
Ajax.Updater dropping first <OPTION> on IE?
I am attempting to use Ajax.Updater to update the innerHTML of a SELECT - that is, to feed it a list of <option>..</option> sets generated from a partial. It works as expected on FF1.5, but in IE6 it renders as an empty select. When I use the DOM viewer (or an alert()) to dump the value of innerHTML, it appears intact EXCEPT that the first <option> is missing with no
2006 Jan 02
1
best way to detect drop down changes
So I want to have a form with a drop down that lists all our customers. And when a user selects a customer, I want it to automatically list the customer names emails below the drop down. Anyone have any thoughts as the best approach to do this? I could just write javascript, but it seems like there would be a rails tag for this. thanks, phil -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
3
Lonked Select Boxes
linked selects are critical to my application. for those who don''t know, a linked select updates as the select box it is linked to is updated. for example, if select 1 is "California", then select 2 will list all the cities in California. change select 1 to Washington and select 2 will automatically change to list all the cities in Washington. I use a php forms class to
2005 Dec 28
2
Getting (and displaying) REST data
This is probably more a Ruby question, but somebody here probably knows ;). Is there some handy Ruby or Rails library that can get data from other sites (like Amazon and Flickr) via REST, then return it in nice arrays, hashes, objects, etc.? I''ve searched quite a bit and haven''t been able to really find anything. There is a ruby-amazon library, but it''s for an older
2006 Jan 08
2
RoR AJAX select box update?
Hi, I want to update a select box depending on another selected option thru ajax. Heres how I do it # _form.rhtml <select id="budget_coordinator_id" name="budget[coordinator_id]" onchange="<%= remote_function(:update => "budget_project_number", :url => { :action => :get_projects }) %>"> <%=
2006 Apr 09
12
Help With Dependent Drop-Down and @Params
Hello All: I am trying to create a select box that is filled with options based on the user''s selection in a related drop-down. I have had success with this before using the examples provided by the following two sources: One posted by Rory at Rory on Rails - http://www.roryhansen.ca/?p=9 the other posted by Adam at http://www.adamhegedus.com/articles/2006/01/19/ajaxed-select-boxes-in-rails Here is my problem: The user selects a Utility and a select with Receiving Points is updated with the items related to the specific utility. Here is my code... <<controller>...
2006 Jan 06
12
Auto refreshing a page based on select change
Hi all, I have a select helper form on a web page which contains a list of dates. When the user selects a date, one of the other forms on the page needs to be updated based on the newly selected date. Is there a way to catch this event in Rails? Are we talking Ajax here? Or is there a simpler way? Thanks, Dan
2005 Nov 05
3
[OT] debugging rails apps with kodomo 3.5 beta for windows
Hi Group, Has anyone experimented with Kodomo 3.5 Beta for Windows? I''m totally new to the Kodomo IDE, but I''ve figured out how to debug my Rails app locally. (I have followed the instructions in the User Guide to determine how to debug Rails apps with Kodomo.) But, it is incredibly slow for me. For example, it takes probably 20 to 30 seconds to go from one page to another when