I have a piece of code that I'm using in a series of free format questions, and it is working correctly:
jQuery('#next').before('<img src="[%GraphicsPath()%]/texto.png" alt="arrow" border="0">');
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" />
I'm using version 7.0.26. Can someone please help me?
Thanks in advance,