Wiki

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

Managing a star rating with the StarRating widget in Yii 2

Created 2 years ago by Kartik VHow-tos4 comments – viewed 10,959 times – ( +38 / -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.

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

Created 2 years ago by robregonmHow-tos2 comments – viewed 12,027 times – ( +11 ) – 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.

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

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

Serve jQuery and jQuery-UI from Google's CDN

Created 5 years ago by YetiTutorials15 comments – viewed 29,609 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 4 years ago by JamesBarnsleyHow-tos17 comments – viewed 26,906 times – ( +7 ) – version 1.1
I (www.jamesbarnsley.com) 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 3 years ago by chandranTips2 comments – viewed 12,036 times – ( +5 ) – version 1.1
Hi friends,

Date Picker by examples

Created 3 years ago by InterboyHow-tos6 comments – viewed 94,515 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Open bootstrap modal and load content via Ajax

Created 2 years ago by JbalTeroHow-tos1 comment – viewed 43,458 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 3 years ago by Manish GuptaTips4 comments – viewed 20,133 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.

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 6 years ago by a110yTips7 comments – viewed 17,615 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line: