我对jQuery、Ajax和诸如此类的东西非常陌生。我找到了如何将HTML片段注入我的站点的解决方案: $('a').click(openContent); //bindingattr('href');
return false; //to prevent browser from loading the s
我想提供一个其他页面可以包含的HTML片段。<div id="coolIncludable" style="display:none"> <!coolIncludable').show();});//<- actually contained in a script file, just for illustration我计划使用这里详细介绍的方法"