Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot call method 'on' of undefined
    text
    copied!<p>I'm trying to integrate FusionCharts and Aloha editor on same page. Since Aloha have dependency on jquery I'm assuming that's what causes some kind of conflict, but I couldn't solve it and I'm struggling with it all day. Any help would be appreciated. Thank you</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt; &lt;title&gt;Getting Started with Aloha Editor&lt;/title&gt; &lt;link rel="stylesheet" href="index.css" type="text/css"&gt; &lt;link rel="stylesheet" href="aloha.css" type="text/css"&gt; &lt;script src="require.js"&gt;&lt;/script&gt; &lt;script src="jquery-1.7.2.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="FusionCharts/FusionCharts.js"&gt;&lt;/script&gt; &lt;script src="aloha.js" data-aloha-plugins="common/ui,common/format,common/highlighteditables,common/link"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="main"&gt; &lt;div id="content"&gt;&lt;p&gt;Getting started with Aloha Editor!&lt;/p&gt;&lt;/div&gt; &lt;div id="chartContainer"&gt;FusionCharts XT will load here!&lt;/div&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; Aloha.ready( function() { Aloha.jQuery('#content').aloha(); }); var myChart = new FusionCharts("Column3D", "myChartId", "400", "300"); myChart.setXMLData("&lt;chart caption='Weekly Sales Summary' xAxisName='Week' " + "yAxisName='Sales' numberPrefix='$'&gt;" + "&lt;set label='Week 1' value='14400' /&gt;" + "&lt;set label='Week 2' value='19600' /&gt;" + "&lt;set label='Week 3' value='24000' /&gt;" + "&lt;set label='Week 4' value='15700' /&gt;" + "&lt;/chart&gt;"); myChart.render("chartContainer"); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload