Get width and height:
var width = $('#target-element').width(); var height = $('#target-element').height();
Set width and height:
$('#target-element').width(50); $('#target-element').height(100);