jQuery removing '-' character from string

后端 未结 3 835
南方客
南方客 2020-12-08 01:46

I have a string \"-123445\". Is it possible to remove the \'-\' character from the string?

I have tried the following but to no avail:

$mylabel.text(         


        
3条回答
提交回复
热议问题