12 Toggling


#1


Error message: Oops, try again. Did you pass '.panel' to $() to make it a jQuery object?

I've read the earlier message from two weeks ago but, my .pull-me selector appears to be as expected.

Help!


My js:

$(document).ready(function() {
$('.pull-me').click(function() {
$('.panel').slideToggle('slow');
});
});


Replace this line with your code.


#2

I just tried your code and it's fine.

$(document).ready(function(){
    $('.pull-me').click(function() {
        $('.panel').slideToggle('slow');
        });
    });

Now, what you need do is that after you run your code, another window pops; you must slide that item down and then up. Then, click Back to editor button.


#3

Thanks!


#4

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