Resize Event foes not work on elements

Resize Event foes not work on elements


Hello,
First let me say thanks to all for this wonderful library! I'm new
here and might be overlooking something so I would like a little help
to guide me alonng the way.
For some reason the resize event is not being triggered in ff when the
size of an element has been changed. This works great in IE but not in
ff:
Here's the code:
$(function(){
    $('#resize').resize(function(){
        $(this).html('I have been resized!');
    })
    .click(function(){
        $(this).width(200);
    })
})
Here's the html:
<div id="resize" style="width:100px;border:1px solid #ccc">Click Me</
div>
In FF when you click on the element the click event is fired but not
the resize event. Am I doing something wrong?