On Mon, 1 Nov 2010, Parijat Kalia wrote:
> Doesn't really answer my question. I have used several javascripts in the
> format :
>
> array('onclick'=>'javascript:alert("yo")')...the alert is just a filler
> function for now, there are offcourse different javascript functions. Every
> other input tag that I have used a javascript fucntion, it works fine, so I
> am more concerned about it's positioning in the textarea tag than I am for
> the right method of coding.
Are you really too lazy to read up on JavaScript events or even use
Google?
The clue is that not all widgets support onClick. You probably want to be
using onFocus() instead (or perhaps onBlur() if its validation you're
doing).
--
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en