bioTINMAN
01-25-2008, 08:33 AM
why wont this work?
<head>
<script type="text/javascript">
function add(vak)
{
alert(document.win.getElementByName('yoohoo'+vak).value);
}
</script>
</head>
<body>
<form name="win">
<input type="text" name=yoohoo1 value="3" onChange="add(1);">
</form>
</body>
<head>
<script type="text/javascript">
function add(vak)
{
alert(document.win.getElementByName('yoohoo'+vak).value);
}
</script>
</head>
<body>
<form name="win">
<input type="text" name=yoohoo1 value="3" onChange="add(1);">
</form>
</body>