JSFiddle - React, Tailwind, and code Playground

HTML

<button id="AUT" value="AUT">Automotive</button> 
<button id="CON" value="CON">Consumer</button>
<button id="ENT" value="ENT">Enabling Technologies</button>
<button type="button" id="IND" value="IND">Industrial</button>
<button type="submit" id="NET" value="NET">Networking</button>

JavaScript

$('button').each(function(){
    alert(this.getAttributeNode("value").value+"~"+$(this).val()+"~"+this.getAttribute("value"));
})