I want to add a number to a particular jQuery Object like this.
$('#count').text(Number($('#count').text()) + 1);
It works, but it's a little redundant to write same selector and text() method twice.
Is there better way to do this with jQuery, like $('#count').text(Number(this) + 1);?
thiswill be a Window.