JSFiddle - React, Tailwind, and code Playground

by RobertSudwarts

HTML

<button>A button element</button>

CSS

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />

JavaScript

$(function() {
    $( "input[type=submit], a, button" )
      .button()
      .click(function( event ) {
        event.preventDefault();
      });
  });