Follow us on Twitter!
Your life is ending one minute at a time. If you were to die tomorrow, what would you do today?
Thursday, May 05, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 35
Guests Online: 33
Members Online: 2

Registered Members: 93521
Newest Member: rodzzlessa
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

AJAX shoutbox help

nanoymaster
Member



Posts: 119
Location: ก็็็็็็&
Joined: 20.08.05
Rank:
Wiseman
Warn Level: 30
Posted on 27-07-07 19:35
would anyone be kind enough to help me with my AJAX shoutbox which isn't working.

It posts to the shoutbox but it doesn't display the shouts.

Code

function showData() {
   htmlRequest = ajaxFunction();
   if (htmlRequest==null){ // If it cannot create a new Xmlhttp object.
      alert ("Browser does not support HTTP Request");
      return;
   }

   htmlRequest.onreadystatechange = function(){
      if(htmlRequest.readyState == 4){
         document.getElementById("shoutarea").innerHTML = htmlRequest.responseText;
      }
   }
   htmlRequest.open("GET", "http://www.nanoy.org/AjaxShoutbox/outputinfo.php", true);
   htmlRequest.send(null);
}





thats the bit I think is wrong. any help would be nice! (pm me if you wan't the url. or for my MSN addy

cheers in advance


ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิ ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิ

Edited by nanoymaster on 27-07-07 19:35
Ask me... ก็็็็็็็็็็็็็&# http://www.nanoy.org
Author

RE: AJAX shoutbox help

korg
Member



Posts: 2803
Location: ENDING YOUR ONLINE EXPERIENCE!
Joined: 01.01.06
Rank:
God
Posted on 28-07-07 03:38
You didn't post the whole code but what i see is it's not closed (didn't give the next line in your shot)
The next line should read "showData();"
To finish the display.


i57.photobucket.com/albums/g215/korg1269/shodan13.jpg

I deal in pain, All life I drain, I dominate, I seal your fate.
O R