I'm working in a solution inside a CMS (EPiServer).
If I use the console.log to check my object I get a null value.
$(document).ready(function () {
console.log("$('.EPiRequester').html() =" + $('.EPiRequester').html());
});
(function myLoop(i) {
setTimeout(function () {
console.log(i + $('.EPiRequester').html());
if (--i) myLoop(i);
}, 3000)
})(10);
10 times return null as well.
but if I right in the console to check, the html() method return a value.
$('.EPiRequester').html()
"EPi Requester"
any idea about this problem?