Hey! Sorry for the OT, but since there seems to be no js newsgroup in gmane,
I thought maybe someone in here could answer this simple question.

I am trying to use javascript's "print()" to print a frame FROM ANOTHER
frame.

This is the layout:

<frameset rows="*,40" frameborder="NO" border="0" framespacing="0">
    <frame src="..." name="pritableText">
    <frame src="..." name="printButton" scrolling="NO" noresize>
</frameset>

In printButton I have a simple anchor:

<a href="#" onClick="parent.printableText.focus();
parent.printableText.print();">

Yet nothing happens. What's wrong?

Thanks in advance,
Nicolas Sanguinetti

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to