Expand|Select|Wrap|Line Numbers
- <input type="image" onclick="return confirm('You will not be able to change your answers if you submit now.\nAre you sure you want to submit this test?');" name="SubmitTestButton" src="images/submit_test.jpg" value="Submit Test" class="submit_test_button" />
Current code:
Expand|Select|Wrap|Line Numbers
- <form name="TestForm" [...]>
- [OTHER CODE]
- <p><input type="image" onclick="ColdFusion.Window.show('submitTest')" name="SubmitTestButton" src="images/submit_test.jpg" value="Submit Test" class="submit_test_button" /></p>
- </cfif>
- </form>
- <cfwindow name="submitTest"
- center="true"
- closable="true"
- draggable="false"
- height="200"
- width="200"
- initShow="false"
- modal="true"
- refreshOnShow="false"
- resizable="false">
- <cfoutput>
- <p>You will not be able to change your answers if you submit now. </p><p>Are you sure you want to submit this test?</p>
- <input type="image" name="SubmitTestButton" src="images/submit_test.jpg" value="Yes, Please Sumbit" class="submit_test_button" /></p>
- </cfoutput>
- </cfwindow>