What is the equivalent of this script in jQuery (if a was an HTML element)?
a.value++; and ++a.value;
I assume it uses val(), but it seems inefficient to use:
a.val(a.val()+1);
What is the equivalent of this script in jQuery (if a was an HTML element)?
a.value++; and ++a.value;
I assume it uses val(), but it seems inefficient to use:
a.val(a.val()+1);