Reputation: 2266
How using jquery get all input text elements whith a name starts with 'productElement'
Upvotes: 0
Views: 67
Reputation: 38102
You an use attribute starts with selector [name^="value"]
:
Selects elements that have the specified attribute with a value beginning exactly with a given string.
$('input[name^="productElement"]')
Upvotes: 1