javascript - Conver string to integer -


this question has answer here:

i getting numeric value element using

$('.myem').text(); 

it returns number element, need increment value value.how convert integer?

use parseint(... ) mate.

var = parseint("10") 

http://www.w3schools.com/jsref/jsref_parseint.asp


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -