MY javascript: Updated Again.
$('.calc').change(function(){
var classArray = $(this).attr('class').split(',');
$.each(classArray, function(){
alert(classArray);
});
});
And the input:
<input type="text" class="calc R#r# C#i#" />
The pound signs are variables, I'm using ColdFusion.
What I need to be able to do is successfully take each class and place them in an array. That way I can use that to do the required calculations for the entire table.
Help would be appreciated.
Thanks