JSFiddle - React, Tailwind, and code Playground
by GregWoods
HTML
<form name="form1" method="post" action="">
<input type="text" name="txtTitle" mand="Y" value="The Red Album" />
<div id="output">z
</div>
</form>
JavaScript
//standard DOM functions trying to access 'mand'
document.getElementById("output").innerText = "before";
//var mand = document.getElementById("txtTitle").mand;
//document.getElementById("output").innerText = "after;