Jquery Provides Proxy Mechanism through
$.proxy() method. Proxy mechanism is really helpful where we need some
delegate to represent the functionality. Generic use case of a proxy mechanism is the way of
binding different context to a method through a proxy wrapper. In this
Demo, "
We will create method to change color of the text and expose it with a proxy for different context
". In this example we have ,--A method called '
chageColor()' inside a
EVENT_SCRIPT object.
--This method is
wrap...
Published on November 22, 2013 09:43