php - How do I prevent $html-link() from removing the single quotes when adding an 'onmouseover' event in CakePHP? -


Trying to use an onsource event

  $ html-> echo ( "Dashboard", "/ dashboard / index", array ("onosocial" => gt; "tip"););  

becomes

   

How do I stop the link function by removing single quotes?

Using Cake 1.2, it should definitely work:

  Acro $ html- & gt; Link ('dashboard', '/ dashboard / index', array ("onmosovar" => "tip ('test');"), blank, incorrect);  

The last parameter escape option is to miss it on the right.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -