Here's the original post, not sure what happened to it ...
I'm stumped.
I'm opening another browser window to display a print friendly page. For
the "print" window,
I'm using JQuery to change the style sheet.
I thought all I would have to do is use a css selector with the context of
the "print" window.
What am I doing wrong?
Here's my code.
print_win = window.open(window.location).focus();
$("div#class1", print_win.document ).css("display","none");
$("div#class2", print_win.document).css("display","none");
...
this is kicked off from an onclick event from an anchor tag.
Using JQuery 1.0.3 with Drupal 4.7 via the jquery47 Drupal Module.
Thanks in Advance,
eric mckenna.
emckenna wrote:
>
> Found one piece to my puzzle.
> There is no $(expr, context) in 1.0.3.
> That function comes with 1.1.2
>
> --
> Eric Mckenna
> Software Developer
> Phase2 Technology
> [EMAIL PROTECTED]
>
> www.phase2technology.com
> Web solutions that fit your business.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Re%3A-New-Window-Handle--tf3434871.html#a9581235
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/