dialog box on if condition
-
i want to compare the value of two text boxes and on true/false condition i want to display the message in a dialog box.....can any one help me with the coding in javascript????
if(document.GetElementById("txt1").value == document.GetElementById("txt1").value)
{
alert("Some message");
}
else
{
alert("Some message");
}What's so difficult?
I know the language. I've read a book. - _Madmatt
-
if(document.GetElementById("txt1").value == document.GetElementById("txt1").value)
{
alert("Some message");
}
else
{
alert("Some message");
}What's so difficult?
I know the language. I've read a book. - _Madmatt
-
Guess the syntax validator addin stopped working. :-O
I know the language. I've read a book. - _Madmatt
-
if(document.GetElementById("txt1").value == document.GetElementById("txt1").value)
{
alert("Some message");
}
else
{
alert("Some message");
}What's so difficult?
I know the language. I've read a book. - _Madmatt