JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/cupertino/jquery-ui.css">
<div id="test">
<input type="text" name="end_dtnw" id="end_dtnw" />
<input type="button" name="reportList" id="reportList" value="click me" />
</div>
<div id="newreportdata"></div>

JavaScript

$('#test #end_dtnw').datepicker({
    dateFormat: 'dd-M-yy'
});

$("#reportList").click(function() {
    $('#newreportdata').html('foo bar');
});