jquery's Resize event does not support Div, which is the resize event of a div under jquery written by a great God.
Resize of Div (function ($, H, c) {var a = $ ([]), E = $.resize = $.extend ($.resize, {}), I, k = "settime
Out ", j =" Resize ", d = j +"-special-event ", B =" delay ", F =" Throttlewindow ";
E[B] = 250;
E[F] = true; $.event.special[j] = {Setup:function () {if (!e[f) && This[k]) {return fals
E
var L = $ (this);
A = A.add (l);
$.data (this, D, {w:l.width (), H:l.height ()});
if (a.length = = 1) {g ();
}, Teardown:function () {if (!e[f] && this[k]) {return false;
var L = $ (this);
A = A.not (l);
L.removedata (d);
if (!a.length) {cleartimeout (i);
}, Add:function (l) {if (!e[f] && this[k]) { return false;
} var N;
function m (s, O, p) {var q = $ (this), R = $.data (this, d); R.W = o!== c?
O:q.width (); R.h = P!== c?
P:q.height ();
N.apply (this, arguments);
} if ($.isfunction (l)) {n = l;
return m;
else {n = l.handler;
L.handler = m;
}
}
};
function g () {i = H[k] (function () {A.each (function () {var n = $ (this),
m = N.width (), L = N.height (), o = $.data (this, d);
if (M!== o.w | | l!== o.h) {N.trigger (j, [O.W = m, o.h = l]);
}
});
g ();
}, E[b]); }) (JQuery, this);
This allows $ (' div '). Resize (Fucntion () {..}); Had