i need to enter to the page with making all scripts on it. so i need to download it via seeds (hhtp headers). and make all scripts. how can i do it? i thought via Ajax.Update i can do it. but something is wrong. i don't know what to do with parameters. because i need to download all page.
<script src="/prototype-1.6.0.3.js" type="text/javascript"></script> <script> function getHTML() { var url = 'http://mypage.com'; var myAjax = new Ajax.Updater( {success: 'placeholder'}, url, {method: 'get', onFailure: reportError, evalScripts: true}); } function reportError(request) { alert('Sorry. There was an error.'); } </script> <input type=button value=GetHtml onclick="getHTML()"> <div id="placeholder"></div> --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---