View Single Post
Old 11-06-2007, 02:17 PM   PM User | #1
alapimba
Regular Coder

 
Join Date: Jul 2006
Posts: 117
Thanks: 1
Thanked 0 Times in 0 Posts
alapimba is an unknown quantity at this point
http request don't keep the javascripts working

Hello
I'm doing an http request of one page, and when that page loads the javascripts on that page don't work.
theres anyway to fix this?

my request code is:
Code:
function replace<?php echo $row_rs_anos['id']; ?>() {
  http.open("GET", "simple_accordions_with_src/Basic.html", true);
  http.onreadystatechange=function() {
    if(http.readyState == 4) {
      document.getElementById('foo').innerHTML = http.responseText;
    }
  }
  http.send(null);
}
anyone can help me?
alapimba is offline   Reply With Quote