[jQuery] Re: Passing a PHP variable to jQuery

2009-06-01 Thread GravyFace
On Mon, Jun 1, 2009 at 3:37 PM, Mike C snib...@gmail.com wrote: So I'm going to be printing a list of items from a database, and with each item there will be a link printed with it. Essentially, I want something like a href=link from database id=link_1Load/a, except I want the link to use

[jQuery] open content in new window?

2009-05-25 Thread GravyFace
Been trying on and off for days to find a happy cross-browser way to open up a new window and append some content to it. Obviously not a javascript pro here, and my Google-fu has failed me...

[jQuery] Re: open content in new window?

2009-05-25 Thread GravyFace
On Mon, May 25, 2009 at 3:07 PM, Caires Vinicius caire...@gmail.com wrote: The contente of new window opened is dynamically generated? Or is html u already have it? dynamically-generated.

[jQuery] window.document.body reference not working in IE7

2009-05-19 Thread GravyFace
Hello, Any ideas why this doesn't work in IE7? The window opens, but the page source is html/html. Works fine in FireFox. $(#print-preview).click( function() { var printPreviewWin = window.open(, printpreview, location=0,status=0,scrollbars=1);

[jQuery] can't set body in open.window(some-page.php) in FireFox

2009-05-19 Thread GravyFace
Trying to set the body of a document opened with window.open as follows: print-preview.php: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; head title/title style type=text/css media=all

[jQuery] Re: $(this).next() not matching sibling table

2009-05-12 Thread GravyFace
Doh. This totally works now. Dunno, maybe my page was cached. Crack kills, kids. On Tue, May 12, 2009 at 1:28 PM, gravyface gravyf...@gmail.com wrote: Hello, Trying to hide a table that's a sibling to the anchor to which the click event is being called.  It works, with any element

[jQuery] $(this).next() not matching sibling table

2009-05-12 Thread gravyface
Hello, Trying to hide a table that's a sibling to the anchor to which the click event is being called. It works, with any element but a table as a sibling. My code/markup: script type=text/javascript $(document).ready(function(){ // show/hide details $(.show-hide-me).click(function()