javascript - code wont work for SP online site page using SEWP -


this work , execute if use on sp 2013 on-prem site not on sharepoint online site. show in edit mode online disappears after save it... i've used content , script editor. ideas??

<script language = "javascript" src="http://code.highcharts.com/highcharts.js"> <script language = "javascript" src="http://code.highcharts.com/modules/exporting.js"></script>   <script type="text/javascript"> $(function () { $('#container').highcharts({     chart: {         plotbackgroundcolor: null,         plotborderwidth: null,         plotshadow: false     },     title: {         text: 'browser market shares @ specific website, 2014'     },     tooltip: {         pointformat: '{series.name}: <b>{point.percentage:.1f}%</b>'     },     plotoptions: {         pie: {             allowpointselect: true,             cursor: 'pointer',             datalabels: {                 enabled: true,                 format: '<b>{point.name}</b>: {point.percentage:.1f} %',                 style: {                     color: (highcharts.theme && highcharts.theme.contrasttextcolor) || 'black'                 }             }         }     },     series: [{         type: 'pie',         name: 'browser share',         data: [             ['firefox',   45.0],             ['ie',       26.8],             {                 name: 'chrome',                 y: 12.8,                 sliced: true,                 selected: true             },             ['safari',    8.5],             ['opera',     6.2],             ['others',   0.7]         ]     }] });  </script> 

disable feature minimun download strategy


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -