I need to insert a block of HTML code before a DIV. I´m facing this with JQuery, using the "before" or "prepend" functions (neither could help). But the problem is that if i insert an image within the new code it gives me a "failed to load URL" error (debugging with Firebug), but the URL is correct (it works at other places of the web).
Here is my code:
$("#page").before('<div id="OverPage"><div style="width:400px; margin:0 auto;">Go <img src="~/Images/backInst_20.png" /> Back</div></div>');