This is my Code as given below. Here table shows date time string and Close button. When i click on close button it removes concern row. but before removing i need date in variable.

```js
$(document).on('click', 'button.removebutton', function () {
 alpha = $(this).closest('tr #newdate').val();
 alert(alpha);
    $(this).closest('tr').remove();
    return false;
});
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<table id="schedule"> 
 <tr>
    <td>
      <input type="text" name="newdate" id="newdate" value="2017-06-26">
    </td>
    <td>
      <input type="text" name="newtime" id="newtime" value="06:00">
    </td>
    <td>
      <button type="button" class="removebutton">X</button>
    </td>
  </tr>
  <tr>
    <td>
      <input type="text" name="newdate" id="newdate" value="2017-06-28">
    </td>
    <td>
      <input type="text" name="newtime" id="newtime" value="12:00,12:30,13:00,13:30">
    </td>
    <td>
      <button type="button" class="removebutton">X</button>
    </td>
  </tr>
<tr>
</table>
```