On 11/01/2007, at 3:59 PM, [EMAIL PROTECTED] wrote:
It appears that the method to handle the params() is never called.
Maybe I have
params is a hash, it is not a method
to write some javascript to call this method onLoad and OnChange?
The easiest way is to avoid messy javascript programming. Use ruby
form helpers that generate javascript.
But sometimes you need javascript to do client side processing/actions
Is there a way of doing this in Rails?
The select is part of a larger page - there is no "submit" button
Usually in the action.rhtml file in the views/controller_name folder
you have 3 lines enclosed in <% > that read.
start_form_tag
submit_tag "submit"
end_form_tag
The other issue is how to get the current provider selection to the
select list
try to load rails examples (eg Curt Hibbs tutorials) off the web,
and use the raise.variable.inspect in the controller to see what you
are doing to the variables.
- there is a way to do this in options_for_select but I cant for
the life of me
get it to work
R
HTH
kuang
_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk