Advertisement
joris

PJAX

Feb 20th, 2015
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. I use pjax to load all page with Yii1
  2. <?php
  3.     Yii::app()->clientScript->registerScript('PjaxLoad',"
  4.     $(document).pjax('a', '#content');
  5.     ",CClientScript::POS_END);
  6. ?>
  7.  
  8. When I call a page with pjax, all client-side enableClientValidation using CActiveForm becomes not run properly. Is there a way to reload in order to re-run client side validate  ?
  9.  
  10. Thanks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement