¡@

Home 

2014/10/16 ¤W¤È 12:03:05

jquery Programming Glossary: dyn

How to run a function once when binding to multiple events that all trigger in Javascript?

http://stackoverflow.com/questions/13900093/how-to-run-a-function-once-when-binding-to-multiple-events-that-all-trigger-in-j

window.setTimeout function timer null val input.val el input.closest 'ul' run a function triggers Ajax widget func dyn el lib_template locale val update interval All working nice except the handling of the timeout and binding which causes.. timer timer window.setTimeout function timer null val input.val el input.closest 'ul' widget func dyn el lib_template locale val update ssh.... window.setTimeout function runner false 2500 interval But this is not nice at.. binding that both fire that the function I need only runs once Thanks EDIT The Ajax call is triggered here widget func dyn el lib_template locale val update which calls this function to build a dynmic listview buildListView function dyn el lib_template..