How to solve this closure?

the onclick (), that clicks the arrow wants to call oil.prototype.createChart=function (oilRealtable,objId,meteId) {},
Please let me know

Feb.28,2021

<button onclick="createChart(1)">createChart</button>

oilObj.prototype.createChart = createChart = function (a) {
    console.log(a);
}

my idea is to add nodes dynamically, and click on the event to do it with an event delegate.

$().on('click','.glyphicon-eye-open',function(){
    _this.createChart(...);
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8d953-1169.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8d953-1169.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?