+ 1
Can I convert the value in js
I have the id "#x1y4" i can do id[2] id[4] but output be "1" and "4" I need 1 and 4
1 ответ
+ 1
You can try parseInt(string goes here)
I have the id "#x1y4" i can do id[2] id[4] but output be "1" and "4" I need 1 and 4