you can select multiple objects in the selector, like: $
(#obj1,#obj2,#obj3).change(...)
On Sep 15, 7:42 am, cgp cgpala...@gmail.com wrote:
I have 2 or more objects that onclick(), will call the same function.
Right now I have the following:
$(#obj1).change( function() {
The change event handler can also be passed by reference, avoiding the
need for the closures
(#obj1,#obj2,#obj3).change( setupPage );
On Sep 15, 7:40 am, Mr Speaker mrspea...@gmail.com wrote:
you can select multiple objects in the selector, like: $
(#obj1,#obj2,#obj3).change(...)
On
2 matches
Mail list logo