Visa ett inlägg
Oläst 2014-12-27, 14:23 #2
H S Consulting H S Consulting är inte uppkopplad
Nykomling
 
Reg.datum: Jun 2013
Inlägg: 29
H S Consulting H S Consulting är inte uppkopplad
Nykomling
 
Reg.datum: Jun 2013
Inlägg: 29
this i $.proxy(this.goTo, this) refererar till objektet linkHandler. Du får nog ändra till följande för att this.data() inte ska vara undefined.
Kod:
this.linkButton.on("click", function(e) { $.proxy(linkHandler.goTo, this, e)});
H S Consulting är inte uppkopplad   Svara med citatSvara med citat