Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82226

uncaught typeerror: cannot read property 'value' of null when open other datatable

$
0
0
hello
I have a datatables and filters to go well ... but another option to generate another datatable (this does not use the filter) I get the error "uncaught typeerror: cannot read property 'value' of null when open other datatable"

please help me
I have been several days this problem
 $.fn.dataTableExt.afnFiltering.push(
	function( oSettings, aData, iDataIndex ) {
            
                
                var iMin = document.getElementById("min").value*1;//THE ERROR IN CHROME
                
                var iMax = document.getElementById("max").value*1;
                
		
		var iVersion = aData[3] == "-" ? 0 : aData[3]*1;
		if ( iMin == "" && iMax == "" )
		{
			return true;
		}
		else if ( iMin == "" && iVersion <= iMax )
		{
			return true;
		}
		else if ( iMin <= iVersion && "" == iMax )
		{
			return true;
		}
		else if ( iMin <= iVersion && iVersion <= iMax )
		{
			return true;
		}
		return false;
	}
);  

Viewing all articles
Browse latest Browse all 82226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>