Hi Tolga,
<?php echo javascript_tag("
function foobar()
{
alert('hello');
}
") ?>
Is probably what you're after
On 05/09/2007, at 6:30 PM, tolga wrote:
>
> how can I add a javascript?
> I guess it's different than input_tag
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---