why dataTables search takes input from another form
why dataTables search takes input from another form
Hello i have a form like this
[code]
Ragione sociale o denominazione
...[/code]
and then i have an html table to which i apply dataTables, whenether i type something in the first text input of the form and then unfocus it, the same text appears in dataTables search field and gets auto submitted, i don't know how to prevent this, i don't want to disable the search option
[code]
Ragione sociale o denominazione
...[/code]
and then i have an html table to which i apply dataTables, whenether i type something in the first text input of the form and then unfocus it, the same text appears in dataTables search field and gets auto submitted, i don't know how to prevent this, i don't want to disable the search option
This discussion has been closed.
Replies
[code]anControl = $( 'input', _that.fnSettings().aanFeatures.f );[/code]
to
[code]anControl = $( 'table.dataTables input', _that.fnSettings().aanFeatures.f );[/code]
perhaps it is worth adding a comment on the documentation page