Is there any way to call SAP UI5 controller function inside an jQuery syntax written inside init() function of controller? What I meant is I have written below code snippet inside init() of user.controller.js. I have a function checkId() written inside that same controller which I want to call in the below snippet.How to do that? My code:
$(window).load(function(){
$("#myid").mousedown(function(){
this.checkId(); //returns is not a function
});
});