That is just because the page you run the scripts are too large.or you can optimize your JQ codes!
Alok Thakur <alokthakur1...@gmail.com>编写: >Dear, > >This is jQuery Error, this might be due to confliction of different >libraries used. > >You may use the latest jQuery file to ignore the conflict between different >libraries. > >Please replace your main jQuery file with this: > ><script type="text/javascript" >src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js ><view-source:http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js>"></script> > >Thnx > > > >On Thu, Feb 16, 2012 at 12:21 PM, Santosh V <eclerxsant...@gmail.com> wrote: > >> >> 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 >> > > > >-- > >------------------------------------------------------------------- >Thanks and Regards > >*Alok Thakur* > >-- >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 -- 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