just another quick one:
I notice differences with fadeOut depending on whether this is the goal. Here is my structure.
I have data rows on my page and each row has two icons. One of them is the update icon for this line, one is the delete icon for this line. When a user clicks on the refresh icon for a specific row, I want both the update and the delete icons to disappear. So in order to disappear the thing that the user clicked (refresh button) and the corresponding delete button, I use ...
$(this).next().add(this).fadeOut('slow');
... which works, but both elements do not disappear at the same time. this one disappears first (this is an update icon) and then this.next disappears (delete icon). But if I specify two elements by name ...
$('#updS2, #delS2').fadeOut('slow');
then they disappear together. Why is it different?
Apologies for the plinth on Friday.
==== ==== EDIT
Also noticed a delay using andSelf:
$(this).next().andSelf().fadeOut('slow');
source share