How does one set the javascript variable declared in cake php, for example
echo $this->Js->set('jsvalue','test');
I need to get the jsvalue value inside normal javascript
<script>
// This will need to get value as 'test'
console.info(jsvalue);
</script>
I am currently using cakephp (1.3). If this feature is not supported in version 1.3, please show me how it is implemented in version 2.0.