[jQuery] Re: Partial load strips out script tags?

2008-10-06 Thread Christopher Ford
Hi, Thanks for the reply, but I don't think that's it. The second argument to .load() is data to be posted to the server. Your version of the call does a full load. In my example "#script" is a jQuery selector. I'm trying to .load() just the "#script" div from the "has_script.htm" page. The call

[jQuery] Re: Partial load strips out script tags?

2008-10-06 Thread Adrian Lynch
I haven't used a partial load in a while, but could it be you have a typo: $("#load_target").load("has_script.htm #script"); Should be: $("#load_target").load("has_script.htm", "#script"); Adrian On Oct 6, 4:24 am, ctford <[EMAIL PROTECTED]> wrote: > When I use .load() to pull in a whole pag

[jQuery] Re: Partial .load()

2007-11-18 Thread alexanmtz
If I put $('alvo.php #direto > *') the url in firebug console becames: alvo.php%20#direto%20%3E%20* The url is being decoded the whitespace. I try a lot of things, but doesnt load just the partial content(the div direto), the hole content cames... I never reached the load this way work... What

[jQuery] Re: Partial .load()

2007-11-18 Thread alexanmtz
I was with the version of jquery 1.1.3... now everything works fine in the new version... now I get all I need to make the plugin works great... thanks!!! jQuery getting better everyday! On 24 set, 19:27, "John Resig" <[EMAIL PROTECTED]> wrote: > If you only want the children, just use a child

[jQuery] Re: Partial .load()

2007-09-24 Thread Smith, Allex
2:27 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Partial .load() If you only want the children, just use a child selector: $("#topic").load("help.html #topic-example > *"); The other selector mentioned "#topic-example *" will get you all descendan

[jQuery] Re: Partial .load()

2007-09-24 Thread John Resig
If you only want the children, just use a child selector: $("#topic").load("help.html #topic-example > *"); The other selector mentioned "#topic-example *" will get you all descendants, which will certainly give you strange results. --John On 9/24/07, Smith, Allex <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Partial .load()

2007-09-24 Thread Smith, Allex
mmy text. Just some more text. http://www.google.com";>Test Link Item Item Item Item -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marc Jansen Sent: Monday, September 24, 2007 12:55 PM To: jquery-en@googlegroups.com Subject: [jQu

[jQuery] Re: Partial .load()

2007-09-24 Thread Marc Jansen
Hi, untested: $("#topic").load("help.html #topic-example *"); -- Marc Smith, Allex schrieb: I'm going nuts with a fairly simple selector issue. $("#topic").load("help.html #topic-example"); I want to get the contents of #topic-example, but only the children, not the container itself. What