+ 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}

24th Jun 2018, 11:45 AM
blackndBlue
blackndBlue - avatar
1 Antwort