jQuery window resize event

Posted by Prem Tiwari | Updated on

If you want to get jQuery window resize event. Use the following example. jQuery is just wrapping the standard resize DOM event, eg.

Note: jQuery may do some work to ensure that the resize event gets fired consistently in all browsers, but I’m not sure if any of the browsers differ, but I’d encourage you to test in Firefox, Safari, and IE.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers