You are right, I had to actually get it, strip out the domain manually. Not something very nice, but it works, and I'm really happy.
I just didnt know that IE does this, so I spent many hours trying to figure out why, kinda drove me crazy. Thank you again for you help, JK D... you M$ On Dec 9, 1:55 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > It is unfortunately the default behavior for IE. There are different ways > you can handle this, depending on what you're trying to accomplish. > > You can do a lot of stuff with regex, such as stripping out the domain, > making the path relative to the current page, etc. > > What is it that you want to do with the path once you read it with > javascript? > > JK > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of yellow1912 > Sent: Monday, December 08, 2008 11:04 PM > To: jQuery (English) > Subject: [jQuery] Very weird and frustrating IE problems > > I have encountered a really annoying problem with ie6 and 7: > When I append an img like this > > <img src="relative/path" /> > > The src is automatically changed to the http:// form > > It doesnt happen on FF though. Anyone knows why this happens? > > Regards