4. The .dbclick() event showing an error


#1


Not sure what this means
Oops, try again. It looks like your div is still there! Check the Hint if you need help.
Uncaught TypeError: $(...).dbclick is not a function


$(document).ready(function(){
    $('div').dbclick(function(){
        $('div').fadeout('fast');
        });
    });


#2

This says it all. dbclick is not a function. Check the spelling.


#3

Oh, duh. that's embarrasing. Thank you


#4

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