Posted by Fred on 01/31/06 20:19
How would you configure a submit button
<input type="submit" name="Submit" value="Submit"> button
So that when clicked it sends to the action and also prints the page
with the form at the same time?
I've been trying this JavaScript but I'm having trouble with it.
<script language="JavaScript">
<!--
if (window.print) {
document.write('<a href="#" onClick="javascript:window.print()">' +
'<img src="button_print.gif" width="241" height="22" border="0">' +
'</a>');
}
// -->
</script>
Thanks for the help.
[Back to original message]
|