Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <button onclick="toggleMe()">Toggle</button>
  <div id="editable" contenteditable></div>
</body>
</html>
 
#editable{
  width: 200px;
  height: 200px;
  background-color: gray;
  display: none;
}
 
var elem = $('#editable');
elem.autocomplete({
  source: ["Hello", "There"],
  focus: function() { return false; }
});
function toggleMe() {
  elem.toggle();
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers