jquery find() function not working on ie. (ie 8) not tested on others
Posted
by Val
on Stack Overflow
See other posts from Stack Overflow
or by Val
Published on 2009-12-29T13:58:54Z
Indexed on
2010/03/08
18:51 UTC
Read the original article
Hit count: 176
I have a tiny problem: I am trying to use the find function to get data from an external page. here is the code can some one please help me why doesnt it work on ie?
index.php
<div id="testing">Hello Worlds</div>
jquery
var txt=$('<div id="Temp"></div>').hide().appendTo('body');
var t;
$('#Temp').load('index.php',null,function (t){
t = $('#Temp').find('#testing').text();
alert(t);
})
Please help me... it works well on fireworks and chrome result should be to alert "Hello Worlds" instead its blank.
© Stack Overflow or respective owner