How to implement chained select box without ajax?


Former post focused on the chained select box with ajax select,but how
to do that without ajax using rails?
This following url can performance well:
but it can only work under firefox,while not worked in ie
because it use the HTMLSelectElement.prototype,while ie does not support
i am still working to modify the source of the above url,but not
successful till now,anyone can help me with this? very grateful!