windscar
- windscar 回答了问题 使用JS 的一些困惑
你可以这样写,不用转义
<?php $this->beginBlock('myjs') ?> function jsfunction() { } <?php $this->endBlock() ?> <?php $this->registerJs($this->blocks['myjs'], \yii\web\View::POS_END); ?>
<?= Html::activeTextInput($model, 'name')?> <?= Html::activeLabel($model, 'name')?>
只有input label没有div- windscar 2015-02-26 已签到连续签到1天,获得了5个金钱