FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Need help with an AJAX Script!! {URGENT]

 


polly-gone
Why doesn't this work? What am I doing wrong? Can anyone help me?

http://nanderegg.pastebin.com/f5a863e59

Thank you in advance,

-Nick Smile Smile Smile
jmraker
I fixed a few things but I can't confirm it works because the browsers give domain permission errors for http://localhost/ajax/ajax.html where it was called from.

Code:
a = new Ajax();
alert(a.doGet);
a.doGet("http://localhost/ajax/ajax.html", hand);

function hand(obj){
   alert("HAND");
   alert(obj);
}


What you were doing wrong was using function()[ ] instead of function(){} in this.abort, closing the Ajax object before the functions were defined, and an extra } somewhere
polly-gone
Oh... whoops... I had already figured this out. There were a bunch of mistakes but now it works.

Please close this!

-Nick Smile Smile Smile
Vrythramax
-closed- by author request.
Related topics

Need Help AJAX using WYSWYG Script.
Ajax or JS - need help ASAP
Help: Need a review script for PHP
Flash Presentation Help
wordpress problem :( need help.. :(

Need help with database, can anyone help?
Navigation Script (javascript) Help Please!
Need help in Borland C++ 3.0
Need help with iTunes..
Need help understanding MySQL "Resource" type retu

I have superiority complex and I need help.
Need Help Please (I offer all my frih$)
Need Help for Banner
Need help with subdomains of my hosting account!
i need HELP
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.