<script language="JavaScript"> <!-- function CheckTextbox() { var txtAd; // first set a reference to the textbox txtAd = document.getElementById('txtName'); if (txtAd.value != "<your text>") { alert('yup'); //display image } else { alert('nope'); //do not display image } } //--> </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)