Newbie question

Giganews Newsgroups
Subject: Newbie question
Posted by:  cris_smith_…@hotmail.com (Chris)
Date: 4 Sep 2003

This is a function which is to validate an uncertain number of
customers each time. How do i make the first example work :

this doesent work :

verify('document.form.output' + customerno
,document.getElementById('e-mail'+ customerno).value );

but this does :
verify('document.form.output' ,document.getElementById('e-mail'
).value );

Chris

Replies