Difference between #1 and #2 of
embedded javascript block in your view with IDE checking or intellisense

Changes

Title unchanged

embedded javascript block in your view with IDE checking or intellisense

Category unchanged

Tips

Yii version unchanged

Tags unchanged

registerScript, view, js

Content changed

this is my way for embed js code block in view file: ~~~

 
 
 
```php

<?php \year\widgets\JsBlock::begin() ?>
<script >
[...]
</script>
<?php \year\widgets\JsBlock::end()?>
~~~```
 


and my extension for it:
[...]
2 0
3 followers
Viewed: 13 637 times
Version: 2.0
Category: Tips
Written by: yiqing95
Last updated by: yiqing95
Created on: Sep 22, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history