jQuery on iPhone Safari - Not working!

jQuery on iPhone Safari - Not working!

Hello,
 
Everything I've read says that jQuery should run on iPhone's Safari browser, and yet I can't get it working!
 
I tried this simple code, which should turn my div background yellow:
 
  1. <html>
  2. <head>
  3.       <script type="text/javascript">
  4.       $(window).load(function() {
  5.             $('#test').css('background', 'yellow');
  6.       });
  7.       </script>
  8. </head>
  9. <body>
  10.       <div id="test" style="width: 100px; height: 100px;"></div>
  11. </body>
  12. </html>
 
This works in every browser I've tried, including Safari, but when I load the page on my iPhone... nothing!
 
Any ideas, or further documentation? I'm pulling my hair out here!!!