![]() |
|
#1
|
||||
|
||||
![]()
Just write the whole script inside Comment(), like
$document->add(new Comment("<script>your javascript here</script>")); (if you are on 1.3.4, do this on the view file and not in the controller file)
__________________
![]() ![]() ![]() asp.net stole my soul. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Javascript included in PHP? | Aasixx | Questions and Supports | 2 | 10-30-2012 02:46 AM |
Javascript question | SilverDragonTears | Questions and Supports | 9 | 03-29-2012 09:26 PM |
\\Javascript Help, Please// | Poppy | Questions and Supports | 0 | 11-06-2011 11:28 AM |
Javascript help? | AlexC | Programming and Game Development | 0 | 07-19-2011 06:22 AM |
Anyone here knows Javascript? | Hall of Famer | Other Chat | 5 | 04-06-2011 07:21 PM |
What's New? |
What's Hot? |
What's Popular? |