JSFiddle - React, Tailwind, and code Playground
by shubh0602
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<div id="dialog" title="Basic dialog" style="display:none">
<table>
<tr>
<td>First Name</td>
<td>
<input type="text" onclick="parent.focuswhere = 0;" id="Text1" />
</td>
</tr>
</table>
</div>
<table>
<tr>
<td>First Name</td>
<td>
<input type="text" onclick="parent.focuswhere = 0;" id="firstName" />
</td>
</tr>
<tr>
<td>Last Name</td>
<td>
<input type="text" onclick="parent.focuswhere = 0;" id="lastName" />
</td>
</tr>
</table>
JavaScript
$(document).ready(function () {
$("input").click(function (e) {
$("#dialog").dialog();
console.log(e.target);
});
});