I have a div with the id of \"secondHeader\" and I want to replace that entire div with another div with the same id of \"secondHeader\" but instead of replacing it , it jus
I had this issue as well, but I was able to use .load by restructuring the code like so: (jade)
.load
div#view div.content block content
and the script like so...
$("#view").load( $(this).attr("href") + " div.content" )
so target the child instead of the same tag.