jquery and caching
Posted
by phpExe
on Stack Overflow
See other posts from Stack Overflow
or by phpExe
Published on 2010-06-09T19:05:48Z
Indexed on
2010/06/09
19:12 UTC
Read the original article
Hit count: 212
jQuery
In this jquery code:
$(document).ready(function(){
$list = $(".channeList li");
$list.click(function(){
var $this = $(this);
var $mainDesc = $(".ply");
var iframe = $("a", $this).attr("rel");
$("iframe", $mainDesc).attr("src", iframe);
}
);
}
);
There is a list o channels in left that iframe loads from a rel's. I want to load first iframe in <div class="ply"></div>
Can we do this without load first item in html and do this only with jquery?
Thanks in advance
© Stack Overflow or respective owner