Questions tagged [delegates]

There are multiple meanings associated with delegates. One definition involves an object depending on another (the delegate) to execute a task. Delegation can also involve the utilization of method lookup rules for self-calls in programming languages. For example, in C#, a delegate specifies the method to be called when an event occurs.

Activate the 'click' function for changing data sources

My webpage has a unique feature where checkboxes are generated dynamically from a .csv file. These checkboxes include an additional 'Select All' option created dynamically as well. The functionality I'm aiming for is that upon checking the & ...

Unable to assign a scroll event delegation by using the "on" method

When attempting to delegate a scroll event in order for my element to maintain the same handler after being returned by an ajax call, I utilized the on method for delegation. $('body').on({ scroll:function(){ alert('scrolling&ap ...