When i try this i get an error "object required" in IE6 and 7. any
thoughts?
On Apr 27, 10:10 pm, Ricardo wrote:
> I think you have to separate the selector otherwise it's just a hash:
>
> $(".content").load("test.html #content");
>
> http://docs.jquery.com/Ajax/load
>
> On Apr 27, 5:14 pm, Char
I think you have to separate the selector otherwise it's just a hash:
$(".content").load("test.html #content");
http://docs.jquery.com/Ajax/load
On Apr 27, 5:14 pm, Charlie wrote:
> $(".content").load("test.html#content");
> this will grab only the id content from test.html and load it , can r
$(".content").load("test.html#content");
this will grab only the id content from test.html and load it , can
refine this down to elements within #content as well
example on jQuery site shows same method
clicforw...@googlemail.com wrote:
Hello Michael,
thanks for this.
I got a error: >
To: "jQuery (English)"
Date: 04/27/2009 01:17 PM
Hello Michael,
thanks for this.
I got a error: > html.find is not a function
Any idea?
$(document).ready(function(){
$.ajax({
url: "leistung.html",
cache: false,
success: function(html) {
var loadCont = html.find('#cont');
$(".con
instead of $(".content").append(html);
do
var contentToAppend = html.find("#cont");
$(".content").append(contentToAppend);
cheers
Michael Lawson
Content Tools Developer, Global Solutions, ibm.com
Phone: 1-828-355-5544
E-mail: mjlaw...@us.ibm.com
'Examine my teachings critically, as a gold as
6 matches
Mail list logo