i have figure out the point: the responseXML returns XMLHttpRequest. this is why i could not see the xml text. i have faced with many problems in this Ajax experience :(
On Apr 8, 2:07 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > I made sure my apache server uses application/xml. I make sure all dynamic > xml content does to! > > is it your own server? perhaps you need to upgrade the server?? > > On 4/7/07, dropx <[EMAIL PROTECTED]> wrote: > > > > > > > i am directly getting my data from xml document. how can i make the > > content-type as application/xml ? > > > On Apr 8, 12:49 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > > > I serve my xml as application/xml... it may make a difference! > > > > On 4/7/07, dropx <[EMAIL PROTECTED]> wrote: > > > > > hi, you are right. firefox and other modern browsers restrict this. > > > > however. IE confused me because it was working for IE. for firefox by > > > > netscape.security. i have solved this. > > > > > Now i have another problem. After calling the > > > > $.ajax({..}).responseXML; i am gettin null. however the responseText > > > > returns the XML as text. Why it could be.(content-type is "text/xml" > > > > actually i am directly getting XML file). > > > > > On Apr 7, 10:30 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > > > dropx schrieb: > > > > > > > I know how to call from another host with javascript without using > > > > > > JQuery. my question: > > > > > > is it possible to solve this with just JQuery's ajax functions? > > > > > > XmlHttpRequest ("Ajax") does not allow cross-domain requests. jQuery > > nor > > > > > any other library can solve this, because it is not solvable. > > > > > > The only way to call JavaScript from another host is by > > > > > including/appending script elements. > > > > > > -- Klaus > > > > -- > > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ > > -- > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ