I have this div
<div style="transform: scale(2,3)"></div>
How do I get the
transform: scale(x,y)
of an element using JS or jQuery.
$('#id').css('transform')
gives me the matrix but i need the actual scale values from my element. Or if I cannot get the scale directly then what is the calculation to convert the matrix() to scale if I have
var mt = matrix(....); how do I then convert mt[0] and mt[3] to actual scale values.