Ah, now, that's interesting. I did try to use evalScripts, but I couldn't find any clear examples of how or where to apply it. I tried putting it in the places it seemed logical, but without effect.
So, ok, I have an HTML page includes an onclick to fetch some content which will include scripts. The JS functions to handle this are in an external file. Do I put the evalScripts() in onclick="getStuff(param, param).evalScipts(); or do I apply it to the returned text before putting it in innerHTML like var thereturn = http_request.responseText.evalScripts(); document.getElementById(div).innerHTML = thereturn; I tried both, but couldn't get either to work. C On 31 July, 11:13, "T.J. Crowder" <[email protected]> wrote: > Hi, > > You're using the evalScripts option in your ajax call? Can you > produce a small, self-contained example[1]? > > [1]http://proto-scripty.wikidot.com/self-contained-test-page > > -- T.J. :-) > > On Jul 31, 1:22 am, Drum <[email protected]> wrote: > > > > > P.S. I tried with both delete eds[id]; and eds[id] = undefined. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
