When I call
$('#mydiv').append('<p><img src="a/b/image.jpg" /></p>');

I get
<div id="mydiv">
  <p><img src="http://localhost:53072/pathtocurrentpage/a/b/
image.jpg" /> </p>
</div>

Which is not what I want.

Can anyone tell me why I get this or even how I can stop jquery from
changing my src attribute?

Thanks in advance.

Reply via email to