How to pass reference to an object to anonymous function?
Hello,
I would like to know how to pass in a reference of this to anonymous function so I can access parameters from anonymous. Here is my code:
- $(\"#slider\").slider(
- { min:0,
- max:19,
- range:'min',
- stop: function(event, ui)
- {
- //how to access to max???
- });
Now I would like to be able to access max value from anonymous function stop.
Any help will be appreciated!
Thanks in advance.