'jquery upgrade from 2.1.4 to 3.6.0

I am trying to upgrade jquery from 2.1.4 to 3.6.0. I been going through the jquery migration here https://jquery.com/upgrade-guide/3.0/#jquery-migrate-plugin. I am new with this so am having a hard time figuring out how to upgrade jquery on our code. Can someone please advice and point me towards the right direction? Thanks. When I check for errors this is what I get: at jQuery.fn.init.jQuery.fn.hcCharts (scripts.js:37:66)

at HTMLDocument.<anonymous> (scripts.js:425:17)

at j (jquery.min.js:2:26925)

at Object.fireWith [as resolveWith] (jquery.min.js:2:27738)

at Function.ready (jquery.min.js:2:29532)

at HTMLDocument.I (jquery.min.js:2:29723)

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source