JQuery removing '-' character from string
- by Zaps
Hi,
I hope this question isn't too basic.
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("-123456");
$mylabel.text().replace('-', '');
Any help would be greatly appreciated.
Thanks,
Zaps