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
Post a Comment