Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>selectable demo</title>
  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
  <style>
  #selectable .ui-selecting {
    background: #ccc;
  }
  #selectable .ui-selected {
    background: #999;
  }
  </style>
  <script src="//code.jquery.com/jquery-1.12.4.js"></script>
  <script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
</head>
<body>
  <style>
    .ui-selecting { background: #FECA40; }
    .ui-selected { background: #F39814; color: white; }
</style>
 
<div id="ans-images-box">
        <!--<div id="divv">-->
        <div class="ans-cell-images">
            <span class="num-cell">1</span>
            <div class="ans"></div>
        </div>
        <div class="ans-cell-images">
            <span class="num-cell">2</span>
            <div class="ans"></div>
        </div>
      
        <script>
            $( function() {
                $( "#ans-images-box" ).selectable({
  filter: ".num-cell"
});
            } );
        </script>
    </div>
 
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers