Add Javascript in itemStyle.xsl


/ Published in: SASS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <script language="javascript" defer="true">
  2. <xsl:comment>
  3. <![CDATA[
  4. $(document).ready( function() {
  5. alert('boo');
  6. });
  7. ]]>
  8. </xsl:comment>
  9. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.