fnfilter function issue

fnfilter function issue

madhurirmadhurir Posts: 1Questions: 0Answers: 0

I am using following code for filtering its giving issue

$("thead #filter th:nth-child(5)").html( function ( i ) {

             var select = $('<select style="width:100px;height:30px;margin-bottom:0px;background-color:#008d44;color:#fff;border:0px"><option value="">Status All</option><option value="Active">Active</option><option value="Error">Error</option></select>')
                .appendTo( $(this).empty() )
                .change( function () {
                 oTable.fnFilter( $(this).val(),4);
               /* oTable.fnFilter('');*/
            } )
        } );     

As my table column td contain html element span.For example if column data is like Active ,Error its working if its like <span>Active</span>

Please help me for this
Thanks you

This discussion has been closed.