I'm trying to send a Get request by ajax and output json data that is returned by server in html.  But, I got this error.  Uncaught TypeError: Cannot use 'in' operator to search for '324' in  [{"id":50,"name":...
I want to integrate Marketo form with my existing website on yii framework. My code works on all the browsers except Firefox.  Excerpt from my code:      $('#button').click(function () {     var formData = {         'Email': $('#U...
I have two related fields in a Yii model. They are items_per and items_period.  items_per is an integer that reflects how many items to be processed in a given time period.  items_period is the number of seconds in that period (a dropdown with option...
I am extending CGridView in Yii using jQuery to remember the checked rows when switching pages. The pages are loaded using AJAX, so i thought that when the request is finished and the new page is rendered, i want my code to step in an do it's mag...
I need to enable pagination with ajax my code Controller(update content ajax)   function actionIndex(){         $dataProvider=new CActiveDataProvider('News', array(              'pagination'=>array(                 'pageSize...
He there!  If have a question that is related to two different issues I currently have in an application I'm working on.   Issue 1:  - There is a message system. Users are able to send each other messages. I would like to have a real time pop up...
I found how to i18n the message of the submit button like :  echo CHtml::submitButton(Yii::t('tr','Print'),array('confirm'=>Yii::t('tr','Please confirm printing'),));   Then setting language also translate w...
I am coding in Yii and whenever I put any JS it tags it in CDATA.  Why is it getting added automatically? and will there be any problem if I remove it as I write my markup in HTML5....
I have a view that renders some data in a CListView and a Highcharts graphic.  Please note that the pager of the CListView works the following way: it requests the "new page" to the server, the servers renders the entire content of the page a...
I have a question about Yii framework, i have problem with submit button, i want to given two fungsi save and update in one submit button, can anyone tell me how to set that function on form ?  <div class="row buttons">     <?php ech...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.