Menu
I have been asked to extract the number portion from the span below. I assume I need to be using the slice() function but what I can not figure out is how to grab only the number portion. The tricky thing is, this number portion is going to change everytime the page is loaded.
I am thinking I am going to have to create a function using getElementbyId(‘sliceMe’).innerHTML that creates a character array. Then somehow tell it to start slicing once it runs into a Number.
Is this even possible? Thanks for help!!
[I]<span id=”sliceMe”>Here is the number I need to return<br />
<br />
<br />
90909090
</span>