I have a function:
function my_function_name()
{
var $obj = $my_object;
var idx = Number($obj.order);
var newIndex = idx+1;
}
"newIndex" is NOT "idx + 1" but simply the same value as "idx". "$obj.order" is holding an integer value.
Any ideas what is going on?