[Proto-Scripty] Error with getInputs in IE 6 and IE 7

2010-05-13 Thread Benjamin Helgeson
Hi, I'm having an issue with IE 6 and 7 in which i'm getting the following error: Object doesn't support this property or method. It's related to this line of code: var allCheckboxElements = document.forms[0].getInputs('checkbox'); I get the error alert multiple times if I cut and paste this line

Re: [Proto-Scripty] Re: Error with getInputs in IE 6 and IE 7

2010-05-13 Thread Benjamin Helgeson
s the form that you need to extend, so: > > var allCheckboxElements = $(document.forms[0]).getInputs('checkbox'); > > (I've wrapped `document.forms[0]` in the $() call.) > > HTH, > -- > T.J. Crowder > Independent Software Consultant > tj / crowder software

Re: [Proto-Scripty] Re: Error with getInputs in IE 6 and IE 7

2010-05-13 Thread Benjamin Helgeson
I've fixed this by using $$('form')[0].getInputs('checkbox'); Thanks, Ben On Thu, May 13, 2010 at 12:49 PM, Benjamin Helgeson < ben.w.helge...@gmail.com> wrote: > Hi TJ, > Thanks for the response. I've tried what you suggested and now am getting > an