yii2執行JS 隱藏指定搜索框

yii2中如何執行JS代碼?如何隱藏指定列的搜索框? 答案: <?php $this->beginBlock('MyJS')?>     // 隱藏指定搜索框     $("input[name='UserSearchModel[userPass]']").hide();     $("input[name='UserSearchModel[createTime]']").hide();     
相關文章
相關標籤/搜索