search for: javascriptfunctions

Displaying 2 results from an estimated 2 matches for "javascriptfunctions".

2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
...wEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ryan Gahl Sent: Friday, February 17, 2006 2:08 PM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: RE: [Rails-spinoffs] Ajax.Updater and loading new javascriptfunctions. Somewhere in your process (not sure where in your specific case)... try doing the following to inject a script element into the dom, where url is your .js path... This makes that script file get executed immediately. var jsScript = document.createElement("script"); jsScript.setA...
2006 Apr 06
2
Java: How to interact with ruby generated fields
Hello community, I''m new to rubyonrails and to this Forum. I have to call 2 Fields, generated by ruby, from a javafunction (onSubmit) but when I use this example it didn''t work, why? <%= start_form_tag({:action=> "show"}, { :onSubmit =>"post[testfieldone].value=examplefunction(post[textfieldtwo].value+post[textfieldthree].value);" }) %>