Dave, you're a gentleman and a scholar... The id was irrelevant because in the original pass I was passing in this.checked but then someone suggested we allow them to change the mode as well so then I couldn't use this.checked with an onchange fired via a <select> and by then it was waaaay to late into the wee hours to see what was wrong.
Thanks! On Fri, Apr 27, 2012 at 5:47 AM, Dave Kibble <[email protected]> wrote: > On 27 April 2012 09:12, Phil Petree <[email protected]> wrote: > > Its 4a here, I'm gonna get some sleep. > > On 27 April 2012 10:04, Phil Petree <[email protected]> wrote: > > Well, that didn't work... > > not enough sleep! > > > <input type='checkbox' id='1' > > not a legal ID - must start with a letter > > > onclick="saveChange(1);" > > 1 is a number, '1' is a string > > > > function saveChange(cbValue) > > a better name for the parameter would be cbID > > > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
