Yeah, these are nasty alright. I had a hell of a time on someone's
code where the input submit button's name was 'submit'.

On Feb 19, 1:43 pm, Mike Alsup <mal...@gmail.com> wrote:
> > After spending literally hours tracking down the problem, I found it.
> > One of the form's input name and id is set to 'length' in the HTML.
> > Once I changed it to something different, it worked fine.
>
> > Has anybody seen this issue before?
>
> Ooh, that's nasty. You must have had fun with that one.  Yeah, there
> are quite a few names that are just bad to use on form elements
> because of the way they are promoted to properties on the form.  I
> should probably put a sanity check on some of the worst offenders and
> display an alert.
>
> Mike

Reply via email to