title: Detect iPad orientation change
body: <p>How to detect with <a href="/questions/tagged/javascript" class="post-tag" title="show questions tagged &#39;javascript&#39;" rel="tag">javascript</a> or <a href="/questions/tagged/jquery" class="post-tag" title="show questions tagged &#39;jquery&#39;" rel="tag">jquery</a> when user turns iPad from vertical position to horizontal or from horizontal to vertical?</p>