I have a quick question regarding being able to store parts of an element as a string which I can later recall.
Example: I have an element that looks like this
<input type= "hidden" name="Posted" id="Posted" value="100|307|151|16">
I can retrieve the element with document.getElementById('#Posted')
and now I want to be able to take the contents in the [value] tag and store them as a string in a new variable, so I can get something like this:
var inputValue = "100|307|151|16"
Which I can later recall in my code. Maybe I'm blind but after a bit of searching I've still come up with nothing. Thanks in advance for the help!