Hi all,
I have a piece of code that I'm using in a series of free format questions, and it is working correctly:
<script type="text/javascript">
<//
jQuery(document).ready(function ()
{
jQuery('#next').before('<img src="[%GraphicsPath()%]/texto.png" alt="arrow" border="0">');
});
//-->
</script>
When I want to use this code in another type of questions (e. g., select questions), it simply does not work. I've tried to put it in the "Header 1" and "Footer" sections of the question, with no results. I guess it must have to do with the inclusion of the JS library (jQuery, in this case), and so I've putted it in the "Advanced..." -> "HTML <head> tag". Still not working, though.
<link type="text/css" href="[%GraphicsPath()%]/jquery/css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="Stylesheet" />
<script type="text/javascript" src="[%GraphicsPath()%]/jquery/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="[%GraphicsPath()%]/jquery/js/jquery-ui-1.8.19.custom.min.js"></script>
I'm using version 7.0.26. Can someone please help me?
Thanks in advance,
João