私はphp-html-jsテンプレートシェルに取り組んでおり、テンプレートhtmlの一部としてajax経由でクラスをコールバックしたいと考えています。
html のビューは次のようなものです。
<center>this is main part</center>
<button class="btns"> class buttons </button>
<div> also main </div>
<!--[part:AJAX]-->
<div> BUT This part at first should be removed with comments, and all inside <!--[part:ANYVAR]--> till
the same comment: </div>
<!--[part:AJAX]-->
しかし、私は反対のことをする必要がある後: 内部を除くすべてを削除します
Ps ご注意いただきありがとうございます :)