title: Using SPservices on Windows Phone - SharePoint 2010
body: <p>I have a problem, Im using SPservices on a site, and it works perfectly fine.</p>
  
  <p>But when I access the site in a mobile phone, it doesn't work, JQuery works, just SPservices don't.</p>
  
  <p>Its a pretty standard use of SPservices I believe</p>
  
  <pre><code>function updateMat(){
    var id = $("input[title='SolcDescItem']").val();
    //alert(id);
    var query = "&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name='CatDescItem'/&gt;&lt;Value Type='Text'&gt;" + id + "&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;"
    var marca, desc, serie, fam, formato, costoMuestra, candidad, subtotal;
  
    $().SPServices({
      operation: "GetListItems",
      async: false,
      listName: "catItems",
      CAMLQuery: query,
      CAMLRowLimit: 1,
      completefunc: function (xData, Status) {
        var hasRows = false;
        $(xData.responseXML).find("z\\:row, row").each(function () {
          hasRows = true; 
          //valores
          serie = $(this).attr("ows_CatSerie");                 
          marca = $(this).attr("ows_CatMarca");
          desc = $(this).attr("ows_CatItem");
          fam = $(this).attr("ows_CatFam");
          formato = $(this).attr("ows_CatFormato");
          costoMuestra = $(this).attr("ows_CatCostoMuestra");    
        });
      }
    }); //spservices
    var cost = parseFloat(costoMuestra);
    cantidad = $("input[title='SolcCantidad']").val();
    subtotal = parseFloat(cantidad*cost);
    var multmult=Math.round(subtotal*100)/100;
    $("input[title='SolcSerie']").val(serie);
    $("input[title='SolcMarca']").val(marca);
    $("input[title='SolcFam']").val(fam);
    $("input[title='SolcFormato']").val(formato);
    $("input[title='SolcCostoMuestra']").val(cost);
    $("input[title='SolcItem']").val(desc);
    $("input[title='SolcSubtotal']").val(multmult);
  }
  </code></pre>
  
  <p>What it does is retrieve information in a list "catItems" and assign it to variables, then I assign those values to SharePoint form fields.</p>
  
  <p>I have tried differents (but not all) versions of SPservices, although I don't think it's a version issue.</p>
  
  <p>Any insight? Anybody else having this problem?</p>
  
  <p>Thanks in advance</p>