Highcharts chart doesn't show in jquery dialog -


I am trying to show a chart in a jQuery dialog

I really do this , But only for the first time. When I reload the page and show the dialogue, I get only one empty space. This is my code:

  function () {var dialog = $ ('# div_id'). Dialog ({'autoOpen': wrong, 'closeOnEscape': true, 'button': ['text': 'right', 'click': function () {$ (this) .dialog ('close'); }}], 'Model': true}); $ ("#Show_dialog_button"). Click (function () {dialog.dialog ('open'); var chart = Highcharts.Chart ({/ * some configs here}; var jqChart = $ ("#" + Chart.options.chart.renderTo ); HighchartsHelper.autoResizeChart (jqChart, chart);}}   

I hope someone can help.

  $ ("[id = ("# Dialog_Part"> #dialog_element "). Remove ();   

For those compatibility with IE 7 (probably all IE 7 +) those parasites Remove elements

Comments