I've seen multiple tutorials on javscript use this code "this.value" what the heck does "this." do? what is the profit of using it?
this means the current element of DOM (which is being clicked or 'current in a loop' or else)
parseInt returns the numeral part of a string
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)