0

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?

AliBZ
  • 4,039
  • 12
  • 45
  • 67

0 Answers0