Why can't I get jQuery's live() or load() to work?
- by dtryan
Why does only the third method work?
$('#jqtest').live('load', function() {$(this).html('hi');}); //1
$('#jqtest').load(function() {$(this).html('hi');}); //2
$(window).load(function() {$('#jqtest').html('hi');}); //3
<div id="jqtest">kldjfglkj</div>