l width()获取元素的宽度
l width(value)设置元素的宽度
l height()获取元素的过渡
l height(value)设置元素的高度
<body>
<img src="one.jpg" style="width:300px;height:200px;" id='img' />
<hr/>
<button id='btn'>确认</button>
</body>
<script src="jquery-1.7.2.min.js"></script>
<script type="text/javascript">
$(function(){
$('#btn').bind('click',function(){
$('#img').width('150px');
$('#img').height('150px');
});
});
</script>