Wiki

Articles tagged with "javascript", sorted by date (updated)X
Displaying 1-7 of 7 result(s).

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

Updated about a year ago by Wade ShulerHow-tos0 comments – viewed 6,154 times – ( -1 ) – 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.

Clean JavaScript code in your views

Updated 2 years ago by David NewcombTutorials6 comments – viewed 31,456 times – ( +20 / -1 ) – version all
This tutorial presents a way of separating JS code from views and passing to it values from PHP.

Javascript and AJAX with Yii

Updated 3 years ago by François GannazHow-tos3 comments – viewed 141,722 times – ( +42 / -1 ) – version 1.1
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

Ember.js with Yii REST backend,demo application

Updated 4 years ago by drumaddictOthers4 comments – viewed 30,862 times – ( +10 / -2 ) – version 1.1
Ember with Yii REST backend,demo application.

Using Grunt for deploying client scripts

Updated 4 years ago by Chris83How-tos8 comments – viewed 18,329 times – ( +11 / -1 ) – version 1.1
For a long time I have struggled to find a suitable tool for doing server tasks such as compiling LESS files, concatenating and minifying of JavaScript files and copying the minified JavaScript files. While most of these tasks can be done with Yii extensions I would still not recommend using them because it requires you to include these extensions in your project, and therefore also deploying them in your production environment.

Entire Messages into javascript object

Updated 5 years ago by markuxHow-tos0 comments – viewed 6,920 times – ( +2 / -1 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

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

Updated 6 years ago by ibo_sHow-tos2 comments – viewed 49,916 times – ( +15 / -2 ) – version 1.1
In this How-To I'll show you: