javascript - cannot read property 'insertBefore' of null - handsontable.full.js:3714 -


i tried run example mentioned in quick start link(quick start). downloaded files via git hub. when trying run example mentioned in quick start getting following error "cannot read property 'insertbefore' of null - handsontable.full.js:3714". please me running basic example.

version used - v0.16.1

code:

<!doctype html> <html> <head>      <script src="dist/handsontable.full.js"></script>      <link rel="stylesheet" media="screen" href="dist/handsontable.full.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>  <script>     var data = [     ["", "ford", "volvo", "toyota", "honda"],     ["2014", 10, 11, 12, 13],     ["2015", 20, 11, 14, 13],     ["2016", 30, 15, 12, 13]     ];    var container = document.getelementbyid('example');   var hot = new handsontable(container, {             data: data,             minsparerows: 1,             rowheaders: true,             colheaders: true,             contextmenu: true           });  </script> <style> body { background-color: white; margin: 20px; }  h2 {   margin: 20px 0; } </style> </head>   <body>       <h2>default handsontable demo</h2>       <div id="example"></div>   </body> 

try putting 3 script nodes in body rather in head. feels issue how you're loading modules.


Comments

Popular posts from this blog

amazon web services - S3 and apache mod_proxy with basic authentication -

How to install ruby on rails -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -