View Single Post
  #1 (permalink)  
Old June 10th, 2008, 11:51 AM
oldBroh oldBroh is offline
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing data from PHP to Javascript

Hi
How can you get the AJAX response text that is written to a div tag innerHTML to do more than just write to the screen. The info shows up on my web page but when I try to use the value with innerHTML, I get the previous value. So far the only way I can get it to update the value is to do my Ajax call twice, which requires two submit clicks, which I don't want to have to do. I'd appreciate any ideas.

Thanks!