Articles tagged with "jquery", sorted by date (updated)X
Displaying 1-10 of 16 result(s).

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Updated 3 months ago by Wade ShulerHow-tos0 comments – viewed 3,394 times – version 2.0
I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

Handling Bootstrap active tabs in Yii via URL

Updated 8 months ago by JamesBarnsleyHow-tos17 comments – viewed 25,665 times – ( +7 ) – version 1.1
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.

Load data from internal/external source to fill form fields

Updated about a year ago by skwordenHow-tos3 comments – viewed 10,342 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.

Date Picker by examples

Updated about a year ago by Alfa AdhityaHow-tos6 comments – viewed 88,827 times – ( +10 / -2 ) – version 1.1
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

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

Updated about a year ago by robregonmHow-tos2 comments – viewed 9,835 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.

How to display images in CJuiAutoComplete without extenstions

Updated 2 years ago by AsmaaTutorials0 comments – viewed 4,761 times – version all
I wanted to customize the CJuiAutoComplete, so that it displays a thumb image before the label like the one shown in the following image:

How to sum (Update) of all input button price value using jquery

Updated 2 years ago by Ankit ModiHow-tos0 comments – viewed 6,685 times – ( +1 ) – version all
Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others.

Managing a star rating with the StarRating widget in Yii 2

Updated 2 years ago by Kartik VHow-tos4 comments – viewed 9,772 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.

Open bootstrap modal and load content via Ajax

Updated 2 years ago by JbalTeroHow-tos1 comment – viewed 40,580 times – ( +3 ) – version 1.1
My goal here is to Open bootstrap modal and load ANY content using ajax response.

How to include Javascript, CSS

Updated 2 years ago by Pedro fpHow-tos4 comments – viewed 373,624 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.