How can I by using the FormHelper ,or some other method, render an image link that runs javascript w
- by chiggsy
Background:
I want to render this:
<a href="javascript:myfunction('Somevar')"><img src="some.png" width="20" height="20" border="0" /></a>
in a cakephp app. Note: this link is not associated with a model at all, it's just part of a form going off-site.
I'm unsure of how to proceed: I've seen this on the cakephp site, but
with all that goes on in cake, I'm not sure about the whole javascript calling business. What's the best way to create such a thing?