Jquery array populates HTML select options - problem on Android Browser Rendering.

Jquery array populates HTML select options - problem on Android Browser Rendering.

<newbie alert> 
In my first version of this web app all of my .js functions were in-bedded in my HTML. This version played fine with my Android.  Then I decided to move .js code to external files and rewrite so that my 3 identical dropdowns were populated by JQuery doc.ready function that iterates through arrays (one for the drop down names and one for associated values.)  This works perfectly on my desktop browsers.   However when I run it in my Nexus' browser the dropdowns are not populated.  

Is there something about the JQMobile meta structure (viewport, roles, etc)  that prevents document.ready from working the same way?

I've included what I think might be the pertinent HTML...let me know if you need to some other part...(didn't want to burden post with all of the code).

  1. <head> 
  2. <title>Enteral Pump Calculator</title> 
  3. <meta name="viewport" id="viewport" content="width=device-width; initial-scale=1; user_scalable=no"> 
  4. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css" />
  5. <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
  6. <script src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js"></script>
  7. <script type="text/javascript" src="loadDropDown.js"></script>
  8. </head> 

And here is one of the 3 selects
  1. <select ID="mySelect1" data-theme="a">
  2. <option value="">Please Select a Food Type</option>
  3. </select>
And here is basic framework for the loadDropDown.js array to populate the select boxes.
  1. $(document).ready(function() {
  2.   var foods = new Array();
  3.       foods[0]="Apple";
  4.       foods[1]=...
  5.  
  6. var foodVal = new Array();
  7. foodVal[0]="17";
  8. foodVal[1]=...

  9. for (var i=0;i<foods.length;i++) {
  10. $("#mySelect1").append('<option value='+foodVal[i]+'>'+foods[i]+'</option>');
  11.   }

  12. // this is abbreviated as the arrays have many items and there are 3 for loops (one for each select box)