html - Jquery, get elements with element name starts with a giving string -


how using jquery input text elements whith name starts 'productelement'

you use attribute starts with selector [name^="value"]:

selects elements have specified attribute value beginning given string.

$('input[name^="productelement"]') 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -