[jQuery] dimensions plugin - stumped. Its worked before now it doesn't.
I have used dimensions a few times w/o problem. Why does this give me
an error "doesnt support this object or method"?
I'm utterly stumped - I'm using jquery 1.1.3 -- tired with older
versions, still gives me same error.
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.dimensions.js"></script>
<script type="text/javascript">
$(function(){
$('#something').click(function(){
alert($(this).offset().left);
});
});
</script>
<body>
<div id="something">hello</div>
</body>