JSFiddle - React, Tailwind, and code Playground

by vicky081

HTML

<script src="http://fantasticplugins.com/demo/smartcontentprotectorjquery/js/content_protect.js"></script>
       <form id="myForm"method="post">
                        Name: <input type="text" id="name" name="name" value="" />
                        Comment: <textarea name="comment"></textarea>
                        <input type="submit" name="submit" id="submit" value="Submit Comment" />
                    </form>

JavaScript

jQuery('#submit').click(function() {

                alert(jQuery('#name').val());
      return false;
            });