Avatar

Level 10

There is nothing wrong with your code....but you are assigning a numeric value to a string value and javascript does not seem to like that. If you modify the right side of the equation to be:

"" + this.parent.index

Then it seems to work.

Paul