Difference between #6 and #8 of
How to display page on fancybox...using CHtml::ajaxlink with yii validation

Changes

Title unchanged

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

fancybox, ajax, validation

Content changed

**1)** include the fancybox extesion otherwise fancybox js
 
 
 
```php 
<?php
$this->widget('application.extensions.fancybox.EFancyBox', array(
'target' => 'a[class=fancybox1]',
[...]
);
?>
```
 
 

**2)**create the **CHtml::ajaxlink**

```php
echo CHtml::ajaxlink('Request New Liquor', array('liquor/addnewliquor'), array(
"type" => "GET",
[...]
0 0
4 followers
Viewed: 19 790 times
Version: 1.1
Category: Tutorials
Written by: Ankit Modi
Last updated by: Rohit Suthar
Created on: Aug 5, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history