I"m using the ajax.updater with evalscripts :true, my server returns some javascript as a simple example:
server sends: <script> testfunc = function() { alert("here");} testfunction();</script> Now what I'm doing here is calling the testfunc inside the returned script text and it doesn't work!. If I make a button on the page to call testfunc it works just fine as expected, but why can't I put anything inside this piece of script to get evaluated including a call to the function I just defined??? Any Help would be greatly appreciated. thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---