• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Scripts within conditionals in templates?

rafass

Well-known member
#1
This is what I need:
Code:
<xen:if is="{$my.condition}">
<script type="text/javascript">
$('.myscript'). bla bla bla{
});
</script>
</xen:if>
but seems it that's not the way to run scripts within conditionals? (it doesn't work)
Thanks.