<HTML>
<HEAD>
<script>
function display()
{
        if(document.iform.but1.value()=="")
        {
        alert("hello enter the value");
        }
}
</script>
</HEAD>

<BODY BGCOLOR="#FFFFFF">
 <form name=iform>
 <input type=text name=but1 value="">
 <a href="javascript:display()"><img src="/project/images/imggo.gif"></a>
 </form>
</BODY>
</HTML>




if i used the script it is giving object does not support like this.

any help needed.

regards
sharat

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to