function tst()
{
var oText1 = document.form1.text1;
alert(oText1.value);
}
<body>
<form name="form1">
<input type="text" name="text1" onblur="javascript:tst();">
</form>
</body>
-----Original Message-----
From: Mario Lopes [mailto:santoslopes@;netcabo.pt]
Sent: Sunday, October 20, 2002 4:33 PM
To: ActiveServerPages
Subject: Re: javascript form element arrays - grrrrr
Hi
I have several textboxes in a form named form1.
How can i access a specified one ?
I tried this code but he gives me an error
<SCRIPT LANGUAGE="Javascript">
<!-- Beginning of JavaScript -
function teste(index){
svalue=document.form1.T1[index].value;
alert(svalue);
}
// - End of JavaScript - -->
</SCRIPT>
Thanks
M�rio Lopes
---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]