jquery - 0x8000ffff JavaScript runtime error Unexpected call to method or property access -
jquery - 0x8000ffff JavaScript runtime error Unexpected call to method or property access -
every time when seek run code in visual studio above error. not sure going on. know it's question this, did not see error in answered in solutions problem. can help me this?
// display lightbox function lightbox() { var insertcontent = "<div id='chartcon'>test</div>"; // jquery wrapper (optional, compatibility only) (function ($) { // add together lightbox/shadow <div/>'s if not added if ($('#lightbox').size() == 0) { var thelightbox = $('<div id="lightbox" class="highcharts-container"/>'); var theshadow = $('<div id="lightbox-shadow"/>'); $(theshadow).click(function (e) { closelightbox(); }); $('body').append(theshadow); $('body').append(thelightbox); //$().keydown(function (e) { // if (e.which == 27) { // closelightbox(); // } //}); } // remove added content $('#lightbox').empty(); // insert html content if (insertcontent != null) { $('#lightbox').append(insertcontent); } //create chart var chart = $('#chartcontainer').highcharts('stockchart'); var annots = chart.exportdata() window.chartwidth = $('#chartcontainer').width(); //chart.destroy(); window.chartops.series = window.seriesoptions; $('#lightbox').highcharts('stockchart', window.chartops); $('#lightbox').highcharts('stockchart').importdata(annots); // move lightbox current window top $('#lightbox').css('top', $(window).scrolltop()); // display lightbox $('#lightbox').show(); $('#lightbox-shadow').show(); })(jquery); // end jquery wrapper } // close lightbox function closelightbox() { // jquery wrapper (optional, compatibility only) (function ($) { //export perchance changed annotations , reset chartwidth var chart = $('#lightbox').highcharts('stockchart'); var annots = chart.exportdata() $('#chartcontainer').highcharts('stockchart').removeallannotations(); $('#chartcontainer').highcharts('stockchart').importdata(annots); window.chartwidth = $('#chartcontainer').width(); // hide lightbox/shadow <div/>'s $('#lightbox').hide(); $('#lightbox-shadow').hide(); // remove contents of lightbox in case video or other content actively playing $('#lightbox').empty(); })(jquery); // end jquery wrapper }
sorry, function giving me error
init: function (chart) { var rangeselector = this, options = chart.options.rangeselector, buttonoptions = options.buttons || [].concat(rangeselector.defaultbuttons), selectedoption = options.selected, blurinputs = rangeselector.blurinputs = function () { var mininput = rangeselector.mininput, maxinput = rangeselector.maxinput; if (mininput) { mininput.blur(); } if (maxinput) { maxinput.blur(); } };
javascript jquery asp.net
Comments
Post a Comment