used this way to create XML HTTP object. and Ala'a I think all the browser let to open XMLHTTPRequest , it deal with it like any normal HTTP request, tariq use fire bug to debug the _javascript_ , I advice you to use ajax framework's like SAJAX
if(window.XMLHttpRequest){
// Firefox, Safari, Opera...
object = new XMLHttpRequest();
} else if(window.ActiveXObject) {
// Internet Explorer 5+
object = new ActiveXObject("Microsoft.XMLHTTP");
} else {
// old browser is being used.
alert('Problem creating the XMLHttpRequest object, You need to update your browser');
}
see also:
http://www-128.ibm.com/developerworks/web/library/wa-ajaxintro1.html
soon : http://www.ajax4all.org
regards,
hafez
On 6/25/06,
Ala'a Ibrahim <[EMAIL PROTECTED]> wrote:
Usualy lots of browsers doesn't let you open an xmlhttp request if the request is on other server, so this depends on where is the script and which url is it calling you might recheak
On 6/25/06, tariq shadid <[EMAIL PROTECTED]> wrote:Hi,
Im beginner for AJAX , and i have error when i used ajax with IE which is "UnKnown Runtime error"
and it is working good in firefox .
so any body can help me plz
* please find here with attached ajax code .
--
Tariq Shadid
WEB DEVELOPER
+962796671066
--Ala'a A. Ibrahim
http://www.alaa-ibrahim.info/
--
Hafez A.Ahmad
Amman-Jordan
mobile:962-795101051
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---
