Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

added 43 characters in body
Source Link
wade
  • 21
  • 2

if you want selector get the same id, use:

$("[id=task]:eq(0)").val();
$("[id=task]:eq(1)").val();
etc...
$("[id=task]:eq(0)").val();
$("[id=task]:eq(1)").val();
...

if you want selector get the same id, use:

$("[id=task]:eq(0)").val();
$("[id=task]:eq(1)").val();
etc...
Source Link
wade
  • 21
  • 2
$("[id=task]:eq(0)").val();
$("[id=task]:eq(1)").val();
.
.
.
lang-js

AltStyle によって変換されたページ (->オリジナル) /