JavaScript Ephiphany
Submitted by generic geek on Sun, 2006-04-23 10:16
After working on defining names for input fields in a form that loops inside of an asp page...
Here is the answer to the question that daunted me for at least 45 minutes....
If you're naming your fields to be specific to a numeric id and text (to differentiate each field from the next one in the loop) and if you happen to have a function inside the loop
THE FUNCTION NAME CANNOT START WITH A NUMBER!
(This will not work)<script>function 39483823submit() {document.form39483823.submit();}</script>(This one will)<script> function submit39483823() { document.form39483823.submit(); } </script>
Wish I had known that first thing that morning.

