TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
I tried this in IE5.5 and the onclick event
certainly work. However, there is no
built-in JavaScript function called
"cmdPrint_onclick()". The syntax for
your button looks more like you're
trying to call a JScript or VBScript
function.
Try the following which opens the print dialog:
<input type="button"
value="Print This Page"
onclick="javascript:window.print()">
Happy scripting,
Pete (pkleczka -at- yahoo -dot- com)
--- Kelly Williamson wonders
> why the following javascript, which works in IE4 and
> IE5, does not work in IE5.5>
> <input id=cmdPrint
> type=button
> name=button1
> value="Print This Page"
> LANGUAGE=javascript
> onclick="return cmdPrint_onclick()">
>
> Thanks,
> Kelly Williamson
> kwcwtech -at- iwaynet -dot- net
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals. http://personals.yahoo.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Announcing new options for IPCC 01, October 24-27 in Santa Fe,
New Mexico: attend the entire event or select a single day.
For details and online registration, visit http://ieeepcs.org/2001
Your monthly sponsorship message here reaches more than
5000 technical writers, providing 2,500,000+ monthly impressions.
Contact Eric (ejray -at- raycomm -dot- com) for details and availability.
---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.