[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.

markhammarkham Posts: 4Questions: 2Answers: 0

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

Answers

  • markhammarkham Posts: 4Questions: 2Answers: 0

    use detroy et create fonction to easy reacreate datatble works perfectly

This discussion has been closed.