0 LIKES LikeUnLike
i'm doing some programming..i know single '=' means we assign value into a variable..and double '==' means equal....but i am confused to compare those..let say, i have a 'login.html' + javaScript page with 2 textfield..which is username and password...i want to compare if those textfield are not empty..how should i do?either======================================...if((username = "") && (password = ""))======================================...or======================================...if((username == "") && (password == ""))======================================...please help me!!thanx in advance =)
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 6 answers.