I’m a complete beginner in JS, so pls have patience 🙂
my.hello = function () {
$("#ok").myMethod({
goodbye: function () { },
alividerci: function (event, ui) { },
});
}
How to call the alividerci method?
my.myMethod = function () {
this.otherMethod();
}
erm… What are you trying to do here? I would consider re-structuring this:
then call my.hello.aliverderci
Like whats been said, it kind of depends on what your trying to do here