There is a function
var rund = function rand(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); }
For example, you can call it like this:
alert(rand(10,20));
But I need the following
var srotate = "rotate(" + Результат вызова функции rand + "deg)"; $(".hour").css({"-moz-transform" : srotate, "-webkit-transform" : srotate});
How to do it?!