Hallo ich möchte eine Funktion aus einer anderen Funktion aufrufen alle in einer Klasse.
mit this.funktionsname funktioniert dass nicht.
Ich möchte in stop this.safed aufrufen erhalte aber diese Fehlermeldung:
wrapped function failed : TypeError: this.safed is not a function.
Beide funktionen befinden sich in der selben Klasse.
mit this.funktionsname funktioniert dass nicht.
Code:
safed: function () { console.log(send) }, dragable: function () { var string = ""; console.log(string); draggable($('.draggable'), { containment: ".ui-grid-solo", drag: function (e) { }, stop: function (e) { console.log("test"); this.safed(); } }); }
wrapped function failed : TypeError: this.safed is not a function.
Beide funktionen befinden sich in der selben Klasse.
Kommentar