Put an eval statement around it
-----Original Message-----
From: George Smyth [mailto:george.smyth@U...]
Sent: Wednesday, September 26, 2001 8:00 AM
To: javascript
Subject: [javascript] RE: Why is this statement wrong?
I think that you want to remove the quotes around field_value.
Cheers -
George L Smyth, Webmaster
U.S. Naval Academy Alumni Association
-----Original Message-----
From: alain2 [mailto:alain@g...]
Sent: Tuesday, September 25, 2001 6:46 AM
To: javascript
Subject: [javascript] Why is this statement wrong?
Why is this statement wrong?
if(document.fdbk_form.elements['field_value'+i].type != 'radio') {
It don't work in IE and NN! How can I ask the type of field in a form?
Thanks.
Alain