[jQuery] Re: Dealing with errors when .find() on .ajax()

2009-08-15 Thread nick
Bummer, still not working. Thanks for the help though. On Aug 15, 11:32 am, "comslash.com" wrote: > Not sure ... I have never tired that ... but you could try, to parse > it in the same way i would parse an xml document, with something like > this. > > $.ajax({ >   url: 'http://www.examplepage.c

[jQuery] Re: Dealing with errors when .find() on .ajax()

2009-08-15 Thread comslash.com
Not sure ... I have never tired that ... but you could try, to parse it in the same way i would parse an xml document, with something like this. $.ajax({ url: 'http://www.examplepage.com', success: function(responseHTML) { var someText = $('#One', responseHTML).html(); }, dataType:

[jQuery] Re: Dealing with errors when .find() on .ajax()

2009-08-15 Thread nick
Thanks, but its actually a full webpage im returning. Is there a way of only returning the section of html I want, similar to load('http:// www.examplepage.com #one')? On Aug 15, 12:07 am, "comslash.com" wrote: > I don't think you can ignore this error ... It looks like you are > returning a JSO

[jQuery] Re: Dealing with errors when .find() on .ajax()

2009-08-14 Thread comslash.com
I don't think you can ignore this error ... It looks like you are returning a JSON response, try turning data type to json and then insert responseHTML.One into your find command ... as "One" is your object ... see below. $.ajax({ url: 'http://www.examplepage.com', success: function(response