[jQuery] Re: should be using .find . . .

2008-04-21 Thread hubbs
Also, it seems that Internet Explorer does not like this too much. I am not sure if it is the search function (I think it is, as it works without that) but it makes IE just hang. IE6 & IE7. Any ideas? On Apr 21, 12:51 am, Nicolas R <[EMAIL PROTECTED]> wrote: > $.ajax({ >     type: "GET", >    

[jQuery] Re: should be using .find . . .

2008-04-21 Thread hubbs
Hi Nicholas, Thank you for your help, I appreciate this. I did indeed work how I wanted. Now, I have another problem. I am changing my requirements, and needing to use POST on this script to return form errors, and strip out the rest of the code. But since the form errors obviously only happe

[jQuery] Re: should be using .find . . .

2008-04-21 Thread Rick Faircloth
Ok... sorry for the misunderstanding! Good luck with it! Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hubbs > Sent: Monday, April 21, 2008 9:49 AM > To: jQuery (English) > Subject: [jQuery] Re: should

[jQuery] Re: should be using .find . . .

2008-04-21 Thread Rick Faircloth
It seems he's trying to use an ajax function in place of an include for the footer. > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > Nicolas R > Sent: Monday, April 21, 2008 3:52 AM > To: jQuery (English) > Subject:

[jQuery] Re: should be using .find . . .

2008-04-21 Thread hubbs
It seems he's trying to use an ajax function > in place of an include for the footer. > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > > Nicolas R > > Sent: Monday, April 21, 2008 3:52 AM > > To:

[jQuery] Re: should be using .find . . .

2008-04-21 Thread hubbs
Thanks, I will give this a try when I get to work. And no, I was not meaning to pass an empty string, it just got put in there by accident. On Apr 21, 12:51 am, Nicolas R <[EMAIL PROTECTED]> wrote: > $.ajax({ >     type: "GET", >     url: "home.html", >     data: "", >     success: function(html

[jQuery] Re: should be using .find . . .

2008-04-21 Thread the_woodsman
Dude - you're not passing the result of the .find into append, you're passing the original html param! Does the result of find return what you want? On Apr 21, 7:39 am, hubbs <[EMAIL PROTECTED]> wrote: > I cannot get it to work, here is what I tried: > > function loadTest() { > $.ajax({

[jQuery] Re: should be using .find . . .

2008-04-21 Thread Nicolas R
$.ajax({ type: "GET", url: "home.html", data: "", success: function(html){ $("#loadTest").append($(html).find("#footer")); } }); that should do it. but why would you pass an empty string of data? On Apr 21, 9:39 am, hubbs <[EMAIL PROTECTED]> wrote: > I cannot get it

[jQuery] Re: should be using .find . . .

2008-04-21 Thread Rene Veerman
show us the source :) On Mon, Apr 21, 2008 at 7:22 AM, hubbs <[EMAIL PROTECTED]> wrote: > > Sorry, not sure how I started a new topic... > > I am trying to use the ajax POST and GET function, and at the same > time, use .find to filter the results so I only return a div with a > specific ID. I h

[jQuery] Re: should be using .find . . .

2008-04-20 Thread hubbs
I cannot get it to work, here is what I tried: function loadTest() { $.ajax({ type: "GET", url: "home.html", data: "", success: function(html){ $(html).find("#footer"); $("#loadTest").append(html); } }); Any help would be appreciated! On Apr 20, 10:22 pm, hubbs <[

[jQuery] Re: should be using .find . . .

2008-04-20 Thread hubbs
Sorry, not sure how I started a new topic... I am trying to use the ajax POST and GET function, and at the same time, use .find to filter the results so I only return a div with a specific ID. I have tried, and I am failing to get it working. Any help would be great! On Apr 20, 10:20 pm, hubbs