I have an element in javascript like follows:
280ms
I want to extract 280 from the span element. How can I do it?
Change the span in:
Then you can do:
alert($('#msSpan').text());