Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  This demonstrates that modifying ui.size in event handler does nothing.
  <div id="box" style="width:100px;height:100px;border:1px solid black"></div>
</body>
</html>
 
(function() {
    $(function() {
        $("#box").resizable({
            resize: function(event, ui) {
              ui.element.height( 150 )
            }
        });
    });
})();
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers