I ran across this error when using ajaxObj.getForm(). I also happened to discover the issue that causes it incase anyone else has this problem.
If a form field does not have a name this error will occur.
I fixed it by adding this if statement around line 550 of mybic.js
if(formObj.elements[x].name)
{
(original line 550 code)
}
The only downfall I can see to adding this code is any form field that is not named will not be added to the var made by ajaxObj.getForm(). But to me that is far better than an error.
Hope that helps someone else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran across this error when using ajaxObj.getForm(). I also happened to discover the issue that causes it incase anyone else has this problem.
If a form field does not have a name this error will occur.
I fixed it by adding this if statement around line 550 of mybic.js
if(formObj.elements[x].name)
{
(original line 550 code)
}
The only downfall I can see to adding this code is any form field that is not named will not be added to the var made by ajaxObj.getForm(). But to me that is far better than an error.
Hope that helps someone else.