I have a situation where I'm using the below javascript to insert a header row in a grid question. I'm now being asked to incorporate a PopUp window to some of the text in that inserted row. In the instance below the word 'feature' I'd like to have a pop up box to the .htm file listed that I have in my graphics folder. The issue here is using the SSIScript [% PopUp %] within this code. I'm not sure how to reference it properly without using the SSIScript tag. The way I have it inserted below just stops the javascript from running properly.
<code>
<script type="text/javascript">
jQuery(document).ready(function ($) {
$('#Q8_r1_row').before('<tr style="background-color: white"><td> <font size="4"><b>1. Improved search [%PopUp("<u>features</u>", "FeatureTesting.htm", 900, 700)%]:</b></font> </td><td> <font size="2"><center><b>None</b></center></font> </td><td> <font size="2"><center><b>Low</b></center></font> </td><td> <font size="2"><center><b>Moderate</b></center></font> </td><td> <font size="2"><center><b>High</b></center></font> </td></tr>');
});
</script>
</code>
Popup script within javascript
Resolved
1 reply