jquery find() function not working on ie. (ie 8) not tested on others
- by Val
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.