I have an input such that
<input type="checkbox" id="numero-id="' + numeroID + '" />
How do I get the value of numeroID
?
I have many input
<input type="checkbox" id="numero-id=6" />
<input type="checkbox" id="numero-id=2" />
<input type="checkbox" id="numero-id=3" />
<input type="checkbox" id="numero-id=7" />
<input type="checkbox" id="numero-id=1" />
<input type="checkbox" id="numero-id=8" />
<input type="checkbox" id="numero-id=9" />
I want to take it out when I mark it and only the one that I marked
That is, if I mark the one with numero-id=6
<input type="checkbox" id="numero-id=6" />
I want you to give me back
6
How would the activator or the identifier be when dialing?
And the function so that it recovers the value of numeroID
of that marked input?