Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 31
Guests Online: 29
Members Online: 2

Registered Members: 82825
Newest Member: bulmers
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
Admin from hell



Posts: 2798
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