This is the code for my entire page. The div is rotated in Firefox (as expected), but not in IE9. Setting the -ms-transform property using normal CSS makes the div rotate, so the problem seems to stem from the attempt to set the property using jQuery. Does anyone know what's going on?
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" charset="utf-8" src="/jquery-latest.pack.js"></script>
<script>
$(function(){
$("#divid").css("-ms-transform", "rotate(-90deg)"); // For IE9
$("#divid").css("-moz-transform", "rotate(-90deg)"); // For Firefox
});
</script>
</head>
<body>
<div id="divid">Foo</div>
</body>
</html>