searchCustomer.pass([event, id],this)(); did the trick!
thanks again El lunes, 24 de febrero de 2014 08:18:02 UTC-3, Vladimir Prieto escribió: > > Thanks! that works. > > but..how can i bind searchCustomer to send it this object ? > > searchCustomer(event, id).bind(this); > searchCustomer.bind(this,event, id); > > those ones didn't work. > > El lunes, 24 de febrero de 2014 06:48:02 UTC-3, Aicke Schulz escribió: >> >> Maybe this helps you a bit, had to strip down some code, and control >> doesn't seems to work in jsfiddle so its in comments >> >> http://jsfiddle.net/4RpnF/2/ >> >> Am Montag, 24. Februar 2014 10:09:14 UTC+1 schrieb Vladimir Prieto: >>> >>> been updated a class i made some time ago from mootools 1.2. >>> >>> http://jsfiddle.net/vladimirprieto/4RpnF/ >>> >>> but i can't find a way to do it on moootools 1.4. as far as i >>> search<https://github.com/mootools/mootools-core/wiki/Upgrade-from-1.2-to-1.3-or-1.4>, >>> >>> i have to do it with pass and/or bind, but i couldn't. >>> >>> can anybody give me hand on this? >>> >>> thanks! >>> >> -- --- You received this message because you are subscribed to the Google Groups "MooTools Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mootools-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.