How do i go about changing the values inside the style for width and height using jquery?
<div id="id11t" style="position: relative; width: 1022px; height: 446px;">
Thank开发者_Python百科s
$('#id11t').css({
width: "300px",
height: "200px"
})
$("#id11t").css('width', '1022px');
$("#id11t").css('height', '1022px');
Will resize your div to 1022x1022
$('#id11t').width(X);
$('#id11t').height(Y);
精彩评论