the filter function will not work with IE10 in my environement

the filter function will not work with IE10 in my environement

seb33gelseb33gel Posts: 25Questions: 3Answers: 1
edited March 2014 in General
Hello

On my internal server filter function does not work with IE10 and IE11. It works in Chrome, Firefox and IE8, IE9.

The code generated for the input filter with IE 10:
[code] [/ code]
The generated code in Chrome
[code] [/ code]

The same page hosted on an external server works! If I test with the DataTables script 1.9 it works well.


I do not understand where the problem is.

Thank you for your help

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    We need a link to a test case please.

    Allan
  • seb33gelseb33gel Posts: 25Questions: 3Answers: 1
    the problem is only present on my Intranet servers (tested on two different LAMP servers). For all my computers IE10 or 11 filter function does not work.
    If I put the same code on an External server then it works.
    If I change the version of DataTables by 1.9 on the Intranet server that works too.

    If I analyze the generated code when it does not work, the code input is this "".

    I think that is why nothing is happening.
    I tested with this code http://gte.gt-location.fr.
  • seb33gelseb33gel Posts: 25Questions: 3Answers: 1
    Hello

    If I change on line 2559 [code][/code] by [code] [/code] and on line in 2591 [code]jqFilter var = $ ('input [type = "search"]' filter ) [/code] by [code]jqFilter var = $ ('input [name = "search"]' filter)[/code] , everything works with all my versions.

    the problem with IE10 type = "search" is changed to type = "text" the attr name are not change......
  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    Thanks for flagging this up - very good point. Because old IE doesn't know about the HTML5 search input type it replaces it with 'text' thus the selector doesn't work. I've fixed it here: https://github.com/DataTables/DataTablesSrc/commit/8365a01e098 and the nightly will rebuild soon with this fix.

    Thanks again,
    Allan
This discussion has been closed.