jquery-ndd
jquery-ndd copied to clipboard
using $(this) doesn't work
Hi Guillaume.
using $(this) instead of $('css selector') doesn't work (no effects, callback functions are never called).
This is the bug case : jQuery(this).droppable( 'Files', function(e) { $(this).css('background', 'yellow') }, function() { $(this).css('background', 'none') }, function(e) { $('ul', this).append('
(same example than jQuery('#files') but changed to jQuery(this) )
Regards, Gaetan
In fact, only css selector works.