By Example: CHtml

Comparing #6 with #7

Revision #7 was created by smarthead smarthead on Sep 29, 2009, 1:43:16 AM.

Update link()

Content

[...]
```php
<input id="yt0" type="button" value="Button Text" name="yt0"/>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(document).ready(function() {
             jQuery('#yt0').click(function() {jQuery.yii.submitForm(this,'controller/action',{});return false;});
 

 
                            jQuery.yii.submitForm(
 
                                     this,
 
                                     'controller/action',{}
 
                                          );return false;});
 
                                  
}); /*]]>*/ </script> ```