Calling fnFilter with value containing "&"

Calling fnFilter with value containing "&"

squigsquig Posts: 14Questions: 0Answers: 0
edited February 2010 in General
Hi all,

we have a column containing a string like "test & another test". Filtering using "fnFilter" works without problems but when we change the value to "test&another test" no results are returned.

[code]oTable.fnFilter('test & another test', 2); // returns the searched row
oTable.fnFilter('test&another test', 2); // returns no rows[/code]

Anybody aware of a workaround or fix?

Thanks in advance,

squig

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi squig,

    I've not been able to replicate this (although I haven't tried in IE). Using the string "321&123" works fine with a filter for me - as does "321&123" - which is probably more correct in the original HTML. Perhaps you could post a link to an example showing the problem.

    Allan
This discussion has been closed.