Get attribute name value of November 16, 2022 by Tarik Give your input an ID and use the attr method: var name = $("#id").attr("name");