yup ideally the 10k response should be seperated in to chunks and make
several requests, but the piece of code that generates the response is
legacy code and touches many java files, so i m not comfortable
changing that.....

ok heres my 1st attack on this, and anyone thinks they have a better
idea plz respond....

i m using ajax.updater currently, my ajax response returns only script
text, contianing the script tag.
Instead of setting 'evalScript: true' in the method, i set

onComplete: function(response) {
  //some element already loaded that i know is on the page

  var scriptTag = document.createElment('script');
  scriptTag.type = 'text/javascript';
  scriptTag.text = response.responseText;

  $('bodyContent').appendChild( scriptTag );
 }

i think appendChild is the same as doing an eval() right guys?

of course the above did not work, but theoritically it should right?

thanks in advance


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to