JSFiddle - React, Tailwind, and code Playground

by chepe263

HTML

<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
		<table id="tabla">
			<tr>
				<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>0</td>
			</tr>
		<table>

CSS

#tabla{
				xwidth: 80%;
				border: 1px solid black;
			}
			#tabla td{
				border: 1px dashed gray;
    width: 20px;
			}

JavaScript

jQuery('td').sortable({helper: "clone", cursor: 'move'}).disableSelection();