How to get the value of an HTML element by the attribute name instead of the attribute id using JQuery

Written by Ian Carnaghan · 6 sec read >

This can be accomplished by using the name attribute selector


ElementName is the attribute name of the element

<input type="text" name="ElementName" />

Last Updated On March 21, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

Notify of