why dataTables search takes input from another form

why dataTables search takes input from another form

max4evermax4ever Posts: 45Questions: 0Answers: 0
edited February 2011 in General
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

Replies

  • max4evermax4ever Posts: 45Questions: 0Answers: 0
    nevermind i find the bug, i am using a plugin, and in dataTableExt.oApi.fnSetFilteringDelay i had to change

    [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
This discussion has been closed.