You are here: Printing the Page and Executing the Form action With One Click. « HTML « IT news, forums, messages
Printing the Page and Executing the Form action With One Click.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация