title: "Uncaught SyntaxError: Unexpected token = " ... JavaScript/HighCharts?
body: <p>I'm trying to implement a simple Highchart into an HTML page. It's got to the point where I've literally just copy and pasted the example from Highcharts to my code to at least get it to work, but no luck... I keep getting the error:</p>
  
  <p>"Uncaught SyntaxError: Unexpected token ="  </p>
  
  <p>On line 261. I've attached my code below and my  where I include JQuery/Highcharts. Please help I have no idea why this isn't working!!</p>
  
  <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.highcharts.com/highcharts.js"&gt;&lt;/script&gt;
  &lt;!-- Beginning of Highcharts --&gt;
  &lt;script&gt;
    $(document).ready({
      chart = new Highcharts.Chart({ 
      $(function () { 
        $('highchart').highcharts({
          chart: {
            type: 'bar'
          },
          title: {
            text: 'Fruit Consumption'
          },
          xAxis: {
            categories: ['Apples', 'Bananas', 'Oranges']
          },
          yAxis: {
            title: {
              text: 'Fruit eaten'
            }
          },
          series: [{
            name: 'Jane',
            data: [1, 0, 4]
                        }, {
            name: 'John',
            data: [5, 7, 3]
            }]
          });
        });
      });
    });
  &lt;/script&gt;
  </code></pre>