title: PHP How to detect jQuery mobile A grade browsers server side?
body: <p>I want to exclude the jQuery Mobile JS library from my header when a phone does not have "A grade" support as listed by jQuery Mobile (<a href="http://jquerymobile.com/gbs/" rel="nofollow">http://jquerymobile.com/gbs/</a>). I find that on old Blackberry phones (that support JS) the jQM framework grinds these phones to a snails speed.</p>
  
  <p>As an example these guys do a good job at serving up the jQuery Mobile library and associated styles depending on the mobile browser support: <a href="http://demo.livebookings.biz" rel="nofollow">demo.livebookings.biz</a></p>
  
  <p>How can I implement a similar server-side approach so that I can choose when to include JS files (e.g. jQM framework) and any CSS files as per the mobile browser support.</p>
  
  <p>Thanks</p>