mawingpui
asked on
Javascirpt get all the input value
I have a lot of inputs in my form
<input name="1-a"?>" type="text" value=""/>
<input name="2-a"?>" type="text" value=""/>
<input name="3-a"?>" type="text" value=""/>
How can I loop though and check all the input values are digit??
(Using Javascript)
<input name="1-a"?>" type="text" value=""/>
<input name="2-a"?>" type="text" value=""/>
<input name="3-a"?>" type="text" value=""/>
How can I loop though and check all the input values are digit??
(Using Javascript)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No worries - glad to help.
ASKER
But Not all the input...
I only want the input with the name 1-a, 2-a, 3-a, 4-a
i.e. digit-a
<input name = "1-a" value="">