uncaught typeerror element.dispatchevent is not a function prototype
and I have this error in Inspect element -> console: uncaught TypeError: undefined is not a function.If this way is not possible Im thinking I may have to do an ajax call or something back to my controller and have a function there that spits out the ModelState errors. It is working fine as it seems however I am still getting the JS error: Uncaught TypeError: ().nivoSlider is not a function view.home.js:107. Kind regards, Nick. this.tableCanvas.update() Card class: Im console logging the canvas to ensure I am not losing context and it is in fact logging the correct Stage object. var Card function(canvas, args) var graphics new createjs.Graphics() graphics.beginStroke("red").beginFill("blue").drawRect(20, 20, 100, 50) Heres the error. Let me assure you - its not your fault. Error: prototype.js:5644 Uncaught TypeError: element.attachEvent is not a function Error: prototype.js:5734 Uncaught TypeError: element.dispatchEvent is not a function. Unfortunately in Preview and Experience Editor modes element.
dispatchEvent is not a function. On expansion it gives me below things, fire()() prototype.js?1 (line 3972).But when the page loads, it returns the following error at the call to the .