When defining the functions, store them in
variables… myFunc = function() { //…etc… } That SHOULD work, but others have
mentioned having to go the extra step of assigning them to the window object
(which I’m almost convinced in unnecessary but I don’t use the
prototype window.myFunc = function() { //…etc… } From: I have a page with some links on it that when clicked, loads a
"subpage" in a div. This subpage contains some html and
_javascript_. I see how using ajax.updater with evalscripts will run any
standalone _javascript_ on the subpage, but I do not have access to any of the
_javascript_ functions on that subpage. Is there some way I can make those
_javascript_ functions available to the page? thanks for any help! The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. |
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs