Hi,

I think the problem is your using value() instead of value.

function display()
{
  if( document.iform.but1.value()=="")
   should be
  if( document.iform.but1.value == "" )
    alert("Hello enter the value");
}



Kevin Duffey
Software Engineer
[EMAIL PROTECTED]

===========================================================================
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