thnks, whatabout if they are on the different hosts. For example, if i want to get xml feeds of a website how can i do that.
On Apr 7, 7:07 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > don't specify the host name in the ajax call! If it's not on the same host, > you shouldn't be able to do it in the first place... IE cares so little for > the rules! > > On 4/7/07, dropx <[EMAIL PROTECTED]> wrote: > > > > > > > no, > > i omitted some part of the url: > > it is likehttp://localhost/jquery/Posts.xml > > > On Apr 7, 6:28 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > > > url:"http://../../Posts.xml" > > > probably should be > > > url:"../../Posts.xml", > > > > On 4/7/07, dropx <[EMAIL PROTECTED]> wrote: > > > > > hi guys, > > > > i am trying to write a simple ajax code with $.ajax() function. > > > > however the Firebug plug-in in Firefox show this error: > > > > > [Exception... "'Permission denied to call method XMLHttpRequest.open' > > > > when calling method: [nsIDOMEventListener::handleEvent]" nsresult: > > > > "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" > > > > data: no] > > > > > in the IE it is working there is not any problem. > > > > > my code is this: > > > > var txt = $.ajax({ > > > > url:"http://../../Posts.xml", > > > > type:"GET", > > > > dataType:"xml" > > > > }).responseText; > > > > > i need help. thnks... > > > > -- > > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ > > -- > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ