var c = parseInt(e.attr("class").match(/rating\d+/)[0].replace('rating', ''));
x.y[z].f()
e.attr("class")
...match(...)
...[0]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)