Wiki

Articles tagged with "jquery", sorted by ratingX
Displaying 1-10 of 14 result(s).

Reliable Alternative For Yii::app()->request->isAjaxRequest AND Adding Data To Ajax Form With JS

Created 3 years ago by ibo_sHow-tos2 comments – viewed 37,168 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Managing a star rating with the StarRating widget in Yii 2

Created 8 months ago by Kartik VHow-tos4 comments – viewed 3,249 times – ( +31 / -5 ) – version 2.0
In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 22,947 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

Handling Bootstrap active tabs in Yii via URL

Created 2 years ago by JamesBarnsleyHow-tos6 comments – viewed 17,964 times – ( +7 ) – version 1.1
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

CGridView customized CCheckBoxColumn

Created 11 months ago by chandranTips2 comments – viewed 6,488 times – ( +5 ) – version 1.1
Hi friends,

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos3 comments – viewed 310,046 times – ( +9 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 51,488 times – ( +9 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Created 5 days ago by robregonmHow-tos1 comment – viewed 783 times – ( +4 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

Open bootstrap modal and load content via Ajax

Created 8 months ago by JbalTeroHow-tos1 comment – viewed 18,826 times – ( +3 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

Rendering Views and Updating them with Ajax

Created about a year ago by Manish GuptaTips4 comments – viewed 14,704 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.