I am setting different width
for an element according to the screen size (using @media
). I wanna know if the width change triggers an event or not. I tried
$('.itable').bind('resize', function() {
console.log("resize")
});
but no luck. Is there a way to do that?