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