JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://code.jquery.com/jquery-1.8.1.js" type="text/javascript"></script>
<body>
    <button id="click">Click</button>
    <input type="email" name="name" id="email" value="[email protected]" />
</body>

JavaScript

$(function () {
    $("#click").click(function () {
        alert("$('#email').val()=" + $('#email').val() + "\n$('#email').attr('value')=" + $('#email').attr('value'));
    });
});