oh, duh! of course.  Thanks!


Karl Guertin wrote:

On 1/11/06, Will <[EMAIL PROTECTED]> wrote:
function cherryPick( myform ) {
       var val = formContents(myform).somename;  //get value of specified
input name
}

var val = myform.somename.value

Assuming myform is a form dom node and the input field of interest has
'somename' as the name attribute. Just doing myform.somename gets you
the input field itself. This is standard javascript, not mochikit
specific.


Reply via email to