samedi 26 décembre 2015

'if statement' not firing on mobile?

This works fine on everything except for mobile. Is there a reason for this? How do I get around it?

$(document).ready(function()
  var my_var = 10;
  if(! my_var =="") {
    //do my code
  }
});

Aucun commentaire:

Enregistrer un commentaire