How to read all input elements with id, starting with (myInputElem) inside dom using jquery. Thus, there will be a dynamic number of input elements such as
<input id="myInputElem1" type="text" value="Eleme1">
<input id="myInputElem2" type="text" value="Eleme2">
..
<input id="myInputElemx" type="text" value="Elemex">
So I just need to count them.
source
share