charts - Javascript stockchart graph -


i pretty new javascript , trying execute stockchart work fine url: http://jsfiddle.net/2zbrt/2/

     code excatly same url, minor changes made ensure jquery library called 

however keep getting error :

(1) uncaught typeerror: cannot call method 'setdefaults' of undefined

(2) uncaught typeerror: object [object object] has no method 'datepicker'

code:     function(chart){            // apply date pickers           settimeout(function(){               $('input.highcharts-range-selector',     $('#'+chart.options.chart.renderto)).datepicker()           },0)          });       // set datepicker's date format     $.datepicker.setdefaults({       dateformat: 'yy-mm-dd',       onselect: function(datetext) {           this.onchange();           this.onblur();       }   }); 

please me out, boss breathing heavily down neck

as know , these 2 functions didn't define yet, said function undefine

settimeout(function(){    $('input.highcharts-range-selector',       $('#'+chart.options.chart.renderto)).datepicker() },0)    

this function use datepicker() function, doesn't define before

$.datepicker.setdefaults({       dateformat: 'yy-mm-dd',       onselect: function(datetext) {           this.onchange();           this.onblur();       } 

same problem, doesn't define yet


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -