If I have a beacon:
<img src="http://example.com/beacon" />
I want a method to be called once the beacon request finishes. Something like:
<script>
$("img.beacon").load(function() {
// do stuff knowing the beacon is done
});
</script>
Is it possible? Is it in jQuery?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…