I am upgrading jquery UI from 1.9 to 1.12 in my project. I want to call predefined method that is defined in a js file. In old version, it is working as
var temp = $('#' + this.id).tabs('addData', '#' + this.id + '-' + this.tabCount);
here addData is defined in different js file as plugin that I am including in my project
When I upgraded it to latest version, it is not calling addData method and giving error 'no such method 'addData' for tabs widget instance for the same code.
How to replace this code in jquery ui latest version so that my website can run smoothly. I have tried
var temp = $('#' + this.id).bind('addData', '#' + this.id + '-' + this.tabCount);
bit it didn't work. I want to call addData method