search for: call_javascript_on_webpage

Displaying 1 result from an estimated 1 matches for "call_javascript_on_webpage".

2006 Mar 29
2
Multiple calls from drop_receiving_element :complete
...> "additem(element.alt,element.id)" One way that I thought would be possible would be to call do something like this :complete => { :action => "myfunction" } Then from the server it could somehow call a javascript function that exists on the webpage def myfunction call_javascript_on_webpage "additem(element.alt,element.id)" Then somehow call Element.hide(''indicator'') end Also how do I get variables into myfunction? (ie element.alt, element.id)? Hope someone can help me :) Cheers, Kent -- Posted via http://www.ruby-forum.com/.