Hi Experts,

** **

I am getting the below error. ****

Also there is the javascript code below. Can u please suggest what can I do
to avoid this error.****

It happens in IE8 .****

** **

****

** **

** **

** **

* *

function setFilter()****

{****

    //debugger;    ****

    ****

    var selectedTR = $("#container tr:has(td)");****

    ****

    var arrTR = new Array();****

    var tmp_TR;****

    $(selectedTR).each(function(index){****

        arrTR.push(this);       ****

        ****

    });****

    ****

        //var tmp_TR = arrTR;****

        //arrTR = null;****

    ****

    ****

    $(".filter_div").each(function(){****

        tmp_TR = null;        ****

        tmp_TR = arrTR;****

        arrTR = null;****

        arrTR = new Array();****

        var className = $(this).attr("type");****

        ****

        //if user not select any checkbox then assume it is not using
filter and same for date and number;****

        ****

        if($(this).is(".filter_text") && $(":checked",this).length <= 0)****

        {    ****

            arrTR = tmp_TR;****

        }  ****

        ****

        ****

        ****

        $(":checked",this).each(function(){****

        ////  debugger;****

            var filter_text = $.trim($(this).val());****

            $("."+className,$(tmp_TR)).each(function(){****

      ****

                if($.trim($(this).text().replace("'","")) == filter_text)***
*

                    arrTR.push($(this).parent()[0]); ****

            });****

        });****

        ****

        if($(".date",this).length > 0)****

        {****

        ////  debugger;****

            var maxDate = jQuery.trim($(".date.max",this).val());****

            var minDate = jQuery.trim($(".date.min",this).val());****

            ****

            $("."+className,$(tmp_TR)).each(function(){****

                var newDate = jQuery.trim($(this).text());****

            ****

                var result_max = maxDate == "" ? 1 : compareDate(maxDate,
newDate,1);****

                var result_min = minDate == "" ? 1 : compareDate(minDate,
newDate,0);****

                ****

                if(result_min == 1 && result_max == 1 )****

                    arrTR.push($(this).parent()[0]); ****

            });****

            ****

            ****

        } ****

        ****

        if($(".number",this).length > 0)****

        {****

        ////  debugger;****

            var maxNumber = formatAmt(null,jQuery.trim($(".number.max",this
).val()));****

            var minNumber = formatAmt(null,jQuery.trim($(".number.min",this
).val()));****

            ****

            $("."+className,$(tmp_TR)).each(function(){****

                var newNumber = formatAmt(null,jQuery.trim($(this).text()));
****

                ****

                if((minNumber == 0 || newNumber>= minNumber) && (maxNumber
== 0 || newNumber<= maxNumber ) )****

                    arrTR.push($(this).parent()[0]); ****

            });   ****

        } ****

    });****

    ****

** **

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to dotnetdevelopment@googlegroups.com
To unsubscribe from this group, send email to
dotnetdevelopment+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

<<image001.png>>

Reply via email to