[server-side + http-custom] update datable result with custom value using external input.
[server-side + http-custom] update datable result with custom value using external input.
![markham](https://secure.gravatar.com/avatar/1816b969c63da3d7567114193c244992/?default=https%3A%2F%2Fvanillicon.com%2F1816b969c63da3d7567114193c244992_200.png&rating=g&size=120)
hi,
I want upate my datable using an input
i have an input with button
```html
<input id="itexte" type="text"></input>
<br>
<input id="soumission" type="button" value="le bouton"></input>
<div class="container">
```
my datatable contain :
```js
data: function ( d ) {
d.city = $('#itexte').val();
}
```
i try :
$( "#soumission" ).click(function() {
table.ajax.reload();
});
but it's doesn't works
This discussion has been closed.
Answers
use detroy et create fonction to easy reacreate datatble works perfectly