|
|
| Author |
Message |
i03m
Joined: 02 Mar 2004 Posts: 6
|
Posted: Tue Mar 02, 2004 10:25 am Post subject: Print Button |
|
|
a JavaScript code.....
| Code: | <script>
function printthis(){
if((navigator.appVersion.indexOf("4.") != -1)&&
(navigator.appName.indexOf("Netscape") != -1)){
print();}
}
</script>
<form><input type="button" value"print" onclick="printthis();"></form> |
|
|
| Back to top |
|
 |
jalinds
Joined: 02 Mar 2004 Posts: 36
|
Posted: Wed Mar 03, 2004 7:52 am Post subject: |
|
|
Does that code work with every browser?? Btw quite useful code  |
|
| Back to top |
|
 |
|