Wiki

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

Managing a star rating with the StarRating widget in Yii 2

Created 10 months ago by Kartik VHow-tos4 comments – viewed 3,704 times – ( +33 / -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.

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 38,034 times – ( +15 / -1 ) – version 1.1
In this How-To I'll show you:

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 23,400 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 18,478 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.

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

Created about a month ago by robregonmHow-tos1 comment – viewed 1,724 times – ( +6 ) – 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.

CGridView customized CCheckBoxColumn

Created about a year ago by chandranTips2 comments – viewed 7,025 times – ( +5 ) – version 1.1
Hi friends,

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos4 comments – viewed 315,179 times – ( +10 / -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 54,534 times – ( +10 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Open bootstrap modal and load content via Ajax

Created 10 months ago by JbalTeroHow-tos1 comment – viewed 20,259 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 15,217 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.