The code which is created on the page is like this <a href="jq-remove.php" id="Delete_<?php echo $thiscart- >DisplayIndex; ?>" class="removeitem" /> <img src="images/remove.gif" border="0" alt="remove" /> </a>
note that the </a> is after the image. i call the page from this jquery query (".removeitem").livequery('click', function(){ var removeidno = $(this).attr("id"); $('#cartcontents').load("jq-remove.php", { removeid: removeidno } ); return false; }); now for some reason when it is output to the browser it comes back as <a href="linketc.php"></a><img src="images/remove.gif" border="0" alt="remove" /> anyone know why this would be happening? thanks