0

How to delete strings in html using javascript

so i a making a calculator using html and i have mapped the "delete all numbers on screen" function using javascript ....now i have problem deleting string by string .i.e if i have 12345 shown on the screen, how to delete the 5 in the value.

17th Dec 2018, 5:20 PM
odugbesan yemi
odugbesan yemi - avatar
2 Answers
17th Dec 2018, 9:23 PM
Toni Isotalo
Toni Isotalo - avatar
0
thanks bro but will it work for numbers ir i guess i have to convert the str to number first ..thanks again
3rd Jan 2019, 1:19 PM
odugbesan yemi
odugbesan yemi - avatar