Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Why is 'this' not the jQuery selector? Reply To: Why is 'this' not the jQuery selector?

#203559
Alen
Participant

Try

$(document).ready(function() {
  var $document = $(this);
  $('#element').impulse(range: $document.height());
});