How to scroll automatically to the Bottom of the Page using jQuery? How to create a Disabled Option Select using jQuery Mobile ? You can use the CSS attribute selectors to select an HTML element by name using jQuery. In this article, I am going to share with you different ways that you can use to check if specific attribute for an element exists or not using jQuery . The JavaScript method getElementsByName () can be used to select the required element and this can be passed to a jQuery function to use it further as a jQuery object. You can use the CSS attribute selectors to find an HTML element based on its data-attribute value using jQuery. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. How to select an element by name with jQuery? If you are new and you want to get attribute value then you can get easily. WE can also return the value of the attributes based on the attribute name. How to get N options from the