Thanks for the replies. I finally started getting the code down to the Script.
I've gotten the check box fixed like so:
echo "<td><Input name=\"deleteBox".$i."\" onclick=\"return CheckButtons($i)\" type=\"checkbox\" value=\"Delete\">Delete</td>";
Then I have my script doing this:
<script type='text/javascript'>
<!--
function CheckButtons(SelectedItems)
{
var Selection=SelectedItems;
var YesNo=confirm ("You are working with Item Number " + Selection + " Continue?");
if (YesNo)
{
var UserBox=document.frmForm.UserName+Selection.value;
var PassBox=document.frmForm.Password+Selection.value;
alert (UserBox + " " + PassBox);
}
}
-->
</script>
I'm getting my Alert that says "you are working with 10". That is working.
But I'm having a problem with this line now.
var UserBox=document.frmForm.UserName+Selection.value;
var PassBox=document.frmForm.Password+Selection.value;
alert (UserBox + " " + PassBox);
My second Alert is giving me this "NaN Nan"
Each answer seem to lead to more questions... But I do appreciate the help.
Thanks