How do I read the Value of the submit Button

Giganews Newsgroups
Subject: How do I read the Value of the submit Button
Posted by:  jb (…@yo.net)
Date: Thu, 11 Sep 2003

this is what I have in my funtion, but returns undefind value?

if (document.forms[0].submit.value=="Cancel") {
    return true;
    }

Replies