This my script, when event is on exit from onClick i got message
class is a reserved identifier class=
CheckBoxSlider = Class.create({
initialize: function (checkbox, block) {
this.checkbox= $(checkbox);
this.block=$(block);
Hi,
The problem must be in code you haven't quoted. Use your editor to do
a case-sensitive search for class (in all lower case), it's a
reserved (but currently unused) word in JavaScript. Note that your
quoted code uses Class (with an initial capital letter), which is
fine.
HTH,
--
T.J. Crowder