Astonished to find out that a line like this :
$('#TextBox').val(parseInt($('#TextBox').val())++ );
Will not work !
I've done some tests, it plays out to the conclusion that the inline ++ doesn't work (in Javascript as a whole ? Or simply in my example ?).
Here's a test with three pieces of code, it seems that ++ is ok with a variable but not inline.
So, no inline ++ for us in Javascript?
++works. What's wrong with+1?$('#TextBox').val(function(){ return parseInt(this.value, 10)+1; });+signs together in a confusing way that works, do it like this1 + + "5"; // 6