Thread
:
Javascript and Mysidia
View Single Post
#
4
08-21-2014, 02:21 PM
IntoRain
Moderator
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits:
22,927
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.
IntoRain
View Public Profile
Send a private message to IntoRain
Find all posts by IntoRain