Is there a way to resize a div to smaller than the declared height and width?
I\'m making an application where the user can resize a div and save it. However, when I loa
$('.cls').css('height', 200); $(".cls").mouseup( function(){ var height = $(".cls").height(); var width = $(".cls").width(); if(height>=200){ $('.cls').css('height', 200); } if(width>=100){ $('.cls').css('width', 100); } var newdimensions="newheight="+height+"&"+"newwidth="+width; });