[jQuery] Re: Separate Functions for Events

2008-12-13 Thread DAZ
Just to say a belated thanks to both of you for this help - it is very useful and helped me lots in learning how to use jQuery. I still have lots left to learn, but I'm finding it a great library. cheers, DAZ On Dec 8, 8:35 pm, "Richard D. Worth" wrote: > But also this is a

[jQuery] Re: Separate Functions for Events

2008-12-08 Thread DAZ
Thanks for the replies Richard and Michael, that makes sense and now works! Just one more question - what if I need to provide arguments to the function? Don't these need to go in parens which will then cause the function to be called immediately? cheers, DAZ On Dec 7, 10:55 pm, &qu

[jQuery] Re: Separate Functions for Events

2008-12-07 Thread DAZ
dropped function is getting called as if I change it to: function dropped() { alert("dropped!") } The alert message does show. So I think that there must be a problem with it accessing $(this). Any ideas how I can get this to work? documentation for droppables can be found here: http://do

[jQuery] Separate Functions for Events

2008-12-06 Thread DAZ
would be better put in a separate function. Is this possible? thanks, DAZ