Link to home
Start Free TrialLog in
Avatar of mawingpui
mawingpuiFlag for Hong Kong

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)
SOLUTION
Avatar of pushtak2k
pushtak2k

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mawingpui

ASKER

Hello!

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="">
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No worries - glad to help.