View Full Version : I wondered if anyone knows..
Pixzo
09-06-2008, 05:15 PM
Hey,
i was wondering if anyone could help me with somthing pretty small
i am trying to send information via java/ajax whatever you wanna call it.. but it doesnt work :eusa_wall
The code i have been trying is..
function send(){
var url = 'send.php?from=pixzo&type=message';
new Ajax.Request(
url, {
onComplete: saved
});
}
thank you
Independent
09-06-2008, 05:16 PM
Hey,
i was wondering if anyone could help me with somthing pretty small
i am trying to send information via java/ajax whatever you wanna call it.. but it doesnt work :eusa_wall
The code i have been trying is..
function send(){
var url = 'send.php?from=pixzo&type=message';
new Ajax.Request(
url, {
onComplete: saved
});
}
thank you
Good luck finding the answer, but I suck at ajax.
Protege
10-06-2008, 12:55 AM
Hey,
i was wondering if anyone could help me with somthing pretty small
i am trying to send information via java/ajax whatever you wanna call it.. but it doesnt work :eusa_wall
The code i have been trying is..
function send(){
var url = 'send.php?from=pixzo&type=message';
new Ajax.Request(
url, {
onComplete: saved
});
}
thank you
function send()
{
var url = 'send.php?from=pixzo&type=message';
if(window.XMLHttpRequest)
{
httpAjax = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
httpAjax = new ActiveXObject("Microsoft.XMLHTTP");
}
httpAjax.open("POST", url, true);
httpAjax.onreadystatechange = saved;
httpAjax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
httpAjax.send();
}
That should work, though I don't understand what you want.
Pixzo
10-06-2008, 03:55 PM
Thank you very much
I have no rep power, But i have pm'd you on that :)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.