2009/12/9 Matt <[email protected]>: > On Dec 5, 5:42 pm, Mike Taylor <[email protected]> > wrote: >> You're probably getting the Exception 5 due to the "-" in the attribute >> name, which is illegal. > > Should jQuery crash when passed a value it doesn't like? >
It's not a jQuery thing, it's a browser thing. I would imagine that checking every possible input for every possible value that could cause a browser to do something unexpected would make the library completely unusable both in size and execution speed. Sometimes, you just have to accept that garbage in means garbage out: it's up to users to fix their own bugs ;-) Negards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ -- You received this message because you are subscribed to the Google Groups "jQuery Development" 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/jquery-dev?hl=en.
