Hey..
I would like to integrate Google Maps in YII. How can I include custom JS in YII? I've read a lot about this stopic but i haven't understand the concept yet. (Tutorials?)
CClientScript::registerCoreScript()
CClientScript::registerScriptFile()
CClientScript::registerScript()
These are the right functions to include custom JS? How can I use them? How can i pass variables from YII to JS and from JS to YII?
Thx for your help!
I would like to integrate Google Maps in YII. How can I include custom JS in YII? I've read a lot about this stopic but i haven't understand the concept yet. (Tutorials?)
CClientScript::registerCoreScript()
CClientScript::registerScriptFile()
CClientScript::registerScript()
These are the right functions to include custom JS? How can I use them? How can i pass variables from YII to JS and from JS to YII?
Thx for your help!