Hello everyone. I have troubles with a simple javascript code on Click event of a mobile list item.
The code must compare two strings and make the button's behavior different according with the string's value.
What's wrong with what I wrote?
var label = Appery('lbl_sms');
var codice = "codice";
if(label.text() == codice)
{
alert("strings got the same value!");
}
else alert("strings are different!");
Thanks in advance!