웹/javascript

리턴된 값이 숫자 인식이 안될경우

몽키 D.루피 2016. 5. 25. 17:55

가끔 $("#f_t_qty").val() 값이 string으로 인식 할수있다.

eval($("#f_t_qty").val())

아래처럼 바꾸면 숫자 인식