Query Event, 2. Cutting the Case


#1

HOW TO FADE OUT A DIV (here: Krypton) WITHOUT A CLICK

$(document).ready(function(){
$('Krypton').fadeOut('fast');
});

Krypton is still there. What should I do to let it disappear?


#2

Instead of 'Krypton' type 'div' then it'll work.


#3

What attribute is used, ID or CLASS? Your selector above is TYPE, and since there is no such element tag, <Krypton></Krypton> it selects nothing.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.