Perhaps try:
array('onclick'=>'alert("yo"); return false; ')) //No javascript:
On Sun, Oct 31, 2010 at 8:44 PM, Parijat Kalia <[email protected]>wrote:
> Hey guys,r unning into a silly doubt that should so not happen at all!
>
> I have a textarea tag,
>
> <?php echo textarea_tag('hint_box','','size=70x4',
> array('onclick'=>'javascript:alert("yo") ')) ;?>
>
> and the onclick event is failing to render itself in the HTML tag.
>
> Any pointers what I am doing wrong here?
>
> Thanks!
>
> --
> 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]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>
--
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc
--
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