[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread Michael Geary
Since the only thing you're doing with the underlying DOM element ('this' in the callback function) is to wrap it right back up in a $() wrapper, you can do it much more simply: var text = $(html).find('#invoice').text(); alert( text ); You could also write it this way: var text = $('#

[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread Dustin
I am using the latest version of Jquery. I did however, figure out the problem. I am using Coldfusion and yesterday when I was working of another problem I turned on debugging and that is when the problem appeared. I had forgotten that I turned it on until today so when I turned it off the problem

[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread Dustin
; - Original Message - > From: "John Resig" <[EMAIL PROTECTED]> > To: > Sent: Thursday, August 30, 2007 9:36 AM > Subject: [jQuery] Re: $(html) error...I think. Please help, I'm stumped! > > > What version of jQuery are you using? > > >

[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread Josh Nathanson
Try using "invoice" as a class rather than an id in your html. invalid -- Josh - Original Message - From: "John Resig" <[EMAIL PROTECTED]> To: Sent: Thursday, August 30, 2007 9:36 AM Subject: [jQuery] Re: $(html) error...I think. Please help, I'm stumped!

[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread John Resig
What version of jQuery are you using? --John On 8/30/07, Dustin Martin <[EMAIL PROTECTED]> wrote: > > Hello everyone! My name is Dustin and was hoping I could get a little > help with a JQuery problem I've run into. I just started using JQuery > and have been trying out a little AJAX when I ran