title: jQuery html() function not working on mobile browsers
body: <p>I have a problem with jQuery on mobile browsers. Problem is when AJAX  script returns result, jQuery fails to html() (or innerHTML) div element. When I test it on desktop browser, jQuery didn't fail to html() selected div. Can someone explain me why mobile browsers fails to  perform  html(). I am using DatePicker that calls html() function when date is changed. Here is code that I am using</p>
  
  <p>jsFiddle: <a href="http://jsfiddle.net/6hm3F/" rel="nofollow">HERE</a></p>
  
  <p><strong><em>EDIT 1:</em></strong></p>
  
  <p>Problem with input type"text" was resolved. Put I have problem with select option tag. When I am on mobile browser, html function fails to inner html.</p>
  
  <p>Here is updated jsFiddle: <a href="http://jsfiddle.net/6hm3F/1/" rel="nofollow">Edited jsFiddle</a></p>
  
  <p>HTML code:</p>
  
  <pre><code>&lt;input type="text" name="datepicker" id="datepicker" placeholder="Pick date"&gt;
  &lt;input type="text" name="sometext" id="sometext" value="SomeText"&gt;
  &lt;select id="opt" name="opt"&gt;&lt;option value=1&gt;1&lt;/option&gt;&lt;option value=2&gt;2&lt;/option&gt;&lt;/select&gt;
  </code></pre>
  
  <p>JS code:</p>
  
  <pre><code>  $(document).ready(function () {      
  $("#datepicker").datepicker({
  
                  dateFormat: "dd/mm/yy",
                  minDate: 0,
                  onSelect: function (date, instance) {
                      alert (date);
                       var newoption= "&lt;select&gt;&lt;option value=new1&gt;New value 1&lt;/option&gt;&lt;option value=new2&gt;New value2&lt;/option&gt;&lt;/select&gt;";
                $("#opt").html(newoption);
                      /*
                      I will disable ajax in this example because result is correc
                      $.ajax({
                          type: "POST",
                          url: "nesto.php",
                          data: "date=" + date,
                          success: function (result) {
                              window.optionValue=result;
                              alert (result);
  
  
  
                          }
                      });
                      */
  
                  }
              }); 
             });  
  </code></pre>