Wiki

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

Serve jQuery and jQuery-UI from Google's CDN

Created 3 years ago by YetiTutorials15 comments – viewed 24,938 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:

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 4 years ago by a110yTips7 comments – viewed 16,013 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:

Date Picker by examples

Created about a year ago by InterboyHow-tos6 comments – viewed 65,122 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Handling Bootstrap active tabs in Yii via URL

Created 2 years ago by JamesBarnsleyHow-tos6 comments – viewed 20,301 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.

How to include Javascript, CSS

Created about a year ago by InterboyHow-tos4 comments – viewed 332,219 times – ( +11 / -3 ) – 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.

Rendering Views and Updating them with Ajax

Created about a year ago by Manish GuptaTips4 comments – viewed 16,469 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.

Managing a star rating with the StarRating widget in Yii 2

Created about a year ago by Kartik VHow-tos4 comments – viewed 5,321 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.

Load data from internal/external source to fill form fields

Created 2 months ago by skwordenHow-tos3 comments – viewed 3,428 times – ( +1 ) – version 2.0
This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

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

Created 6 months ago by robregonmHow-tos2 comments – viewed 3,682 times – ( +7 ) – 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 8,215 times – ( +5 ) – version 1.1
Hi friends,