[jQuery] Re: Passing a PHP variable to jQuery

2009-06-01 Thread GravyFace
On Mon, Jun 1, 2009 at 3:37 PM, Mike C 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 Load, > except I want the link to use ajax. So in my scripts.js file I'll have > something

[jQuery] Re: open content in new window?

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

[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] 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: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> @import url("/css/reports.css"); @import url("/css/print.css"); jquery:

[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 . Works fine in FireFox. $("#print-preview").click( function() { var printPreviewWin = window.open("", "printpreview", "location=0,status=0,scrollbars=1"); $('[name="print-this-listing"]:checked').

[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: $(document).ready(function(){ // show/hide details $(".show-hide-me").click(function() { $(this).next().

[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 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 b