2
I have an input text and want to check if the value is empty. In my example I have this:
var qttDeclared = tr.getElement("input[name$='[qttDeclared]']").get("value").toInt()
if(qttDeclared == "") {
console.log("vazio");
}
But this isn’t working for me.
I noticed that there is a negative vote in my reply. A comment is welcome, I do not mind if there are things to improve the answer.
– Sergio