metrobalderas metrobalderas - 1 year ago 276
HTML Question

Resize event for textarea?

The current versions of Firefox and Chrome include a drag handler to resize a

box. I need to capture the resizing event, I thought it would be easy with jQuery's
event, but it doesn't work!

I have also tried the normal
event, but the result is the same. You can try it on JSFiddle.

Is there a way to capture it?

Answer Source

You need to first make the textarea resizable before issuing the resize event. You can do that by using jQuery UI resizable() and inside it you can call the resize event.

    resize: function() {

Check working example at

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download