Home › Forums › JavaScript › Why is 'this' not the jQuery selector? › Reply To: Why is 'this' not the jQuery selector?
June 10, 2015 at 6:51 pm
#203559
Alen
Participant
Try
$(document).ready(function() {
var $document = $(this);
$('#element').impulse(range: $document.height());
});