how can i detect the OS version of IPad using Javascript?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8348139/detect-ios-version-less-than-5-with-javascript">Detect iOS version less than 5 with JavaScript</a>  </p>
</blockquote>



<p>i 'm working on phone gap application and i want to detect version IOS 5.1.1 of Ipad to make some changes specific to Ipad 5.1.1</p>
