+ 1
Strings equality
I want to know how to put correctly a equality between 2 string in a conditional "if" like var Text1 = document.getElementById("BlaBlaBla"); if ( a == "some text"){ //action}
1 Resposta
I want to know how to put correctly a equality between 2 string in a conditional "if" like var Text1 = document.getElementById("BlaBlaBla"); if ( a == "some text"){ //action}