title: jQuery Mobile messing up my classes
body: <p>I'm creating the below which is doing fine except for one problem:</p>
  
  <pre><code>function showDevices() {
      for (var i = 0; i &lt; devices.length; i++) {
          var value = devices[i].Value;
          var geraete_id = devices[i].Key;
          if (value.Name != "") { // if name exists, use that as heading, else, use UDID
              $("#geraete-list").append("&lt;li id='geraete-"+i+"'&gt;&lt;a href='#'&gt;&lt;h5&gt;" + value.Name + "&lt;/h5&gt;"
              + "&lt;p&gt;" + value.LastUsedBy + "&lt;/p&gt;"
              + "&lt;p id='geraete_DID'&gt;" + geraete_id + "&lt;/p&gt;"
              + "&lt;p&gt;Zuletzt Verwendet: " + formatDate(jsonToDate(value.LastUsed)) + "&lt;/p&gt;&lt;/a&gt;"
              + "&lt;a href='#confirm_device_removal' class='deleteListItem' data-rel='dialog'&gt;&lt;/a&gt;&lt;/li&gt;");
          }
          else {
              $("#geraete-list").append("&lt;li id='geraete-"+i+"'&gt;&lt;a href='#'&gt;&lt;h5 id='geraete_DID'&gt;" + geraete_id + "&lt;/h5&gt;"
                  + "&lt;p&gt;" + value.LastUsedBy + "&lt;/p&gt;"
                  + "&lt;p&gt;Anonymous User&lt;/p&gt;"
                  + "&lt;p&gt;Zuletzt Verwendet: " + formatDate(jsonToDate(value.LastUsed)) + "&lt;/p&gt;&lt;/a&gt;"
                  + "&lt;a href='#confirm_device_removal' class='deleteListItem' data-rel='dialog'&gt;&lt;/a&gt;&lt;/li&gt;");
  
          }
      }
      $("#geraete-list").listview("refresh");
  }
  </code></pre>
  
  <p>The problem is that <code>class='deleteListItem'gets</code> turned into <code>class='deleteListItem ui-btn ui-btn-icon-notext ui-icon-delete'</code></p>
  
  <p>Is this just the way Chrome is reading it or is jQuery Mobile adding this into my class? </p>
  
  <p>The problem is I want to run the below code but the <code>getDeviceIDforRemoval()</code> isn't doing anything...</p>
  
  <pre><code>function getDeviceIDforRemoval(){
      $(".device_to_remove").text($("#geraete_DID").text()); // sends the device ID into confirm submission dialog
  }
  
  function removeDevices(){
      var geraetID =  $(this).find('span').text(); //retrieves the DID inserted by above function
      removeDevice(geraetID,loadDevices);
  }
  
  function removeDevice(udid,onSuccess){
      Server.removeDevice(udid,onSuccess);
  }
  </code></pre>