Yii 1.1: taghandler

Tag Handler is a jQuery plugin used for managing tag-type metadata in Yii
7 followers

Tag Handler is a jQuery plugin used for managing tag-type metadata sample

Requirements

requirements of using this extension (e.g. Yii 1.1 or above)...

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

$assigned  = Contact::model()->Assigned($model->entryId)->findAll();
$available = Contact::model()->Available()->findAll();
$this->widget('ext.TagHandler.TagHandler', array(
    'name'=>'Contact[List]',
    'options'=>array(
    //'getURL'=>$ajaxURL,
    'assigned'=> $assigned,
    'available'=> $available,
    'autocomplete'=>true,
),
));

for get value and submit befor send data:

$('#form_Id').submit(function() {
    $('#Contact_List').val($("#Contact_List_0").tagHandler("getTags"));
    return true;
});

Resources

Donate

Want to say thanks for the time and efforts put on this project?
Donate

Be the first person to leave a comment

Please to leave your comment.

Create extension