¡@

Home 

2014/10/16 ¤W¤È 12:08:01

jquery Programming Glossary: secondheader

How can I use jQuery.load to replace a div including the div

http://stackoverflow.com/questions/1344030/how-can-i-use-jquery-load-to-replace-a-div-including-the-div

can I use jQuery.load to replace a div including the div 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 just.. 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 just adds the loaded div inside the first one. #secondHeader .load logged in content.html.. div with the same id of secondHeader but instead of replacing it it just adds the loaded div inside the first one. #secondHeader .load logged in content.html #secondHeader This is what happens... div id secondHeader div id secondHeader div div What..