How to trigger click on ajaxSubmitButton

datanett

New Member
I have filter-from with ajaxSubmitButton. \[code\]CHtml::ajaxSubmitButton('Show',Yii::app()->createUrl('office/ajaxFilter'),array('update'=>'#office-install'),array('id'=>'filterSubmit'))\[/code\]And i want to submit it on pageLoad (to recive data using default filter values). How to trigger click on ajaxSubmitButton?using\[code\] $(document).ready(function () { $('#filterSubmit').trigger('click');}\[/code\]raise redirect.
 
Back
Top