tag:blogger.com,1999:blog-3063625886271757697.post1207717362200832505..comments2023-04-25T02:41:35.315-07:00Comments on Yii Helps : Create custom button with AJAX function in CGridViewNisanth Thulasihttp://www.blogger.com/profile/16686887286527491102noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3063625886271757697.post-59543828223605407742016-01-10T02:06:14.372-08:002016-01-10T02:06:14.372-08:00How can I update js content
'ajax' => ...How can I update js content<br /><br />'ajax' => array(<br /> 'type' => 'get',<br /> 'url'=>'js:$(this).attr("href")', <br /> 'success' => 'js:function(data) { <br /> // Updatable content<br /> // Must be of toogle<br /> //toastr.success("Success");<br /> //toastr.error("Error");<br /> // End of updatable content<br /><br /> $.fn.yiiGridView.update("my-grid")<br /> }'<br />)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3063625886271757697.post-58075711239133809202014-10-28T05:53:28.447-07:002014-10-28T05:53:28.447-07:00Thanks, really helpful information.Thanks, really helpful information.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3063625886271757697.post-74628127269689029852014-08-26T18:44:21.719-07:002014-08-26T18:44:21.719-07:00Great article. +1Great article. +1Anonymousnoreply@blogger.com