+
95
-

jquery ui sortable connectWith多个怎么设置?

jquery ui sortable connectWith多个怎么设置?

网友回复

+
15
-
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">

    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.17.js"></script>
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-ui-1.11.0.min.js"></script>

    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery-ui-1.11.0.min.css">


    <style>

        .col-md-6 {
            float: left;
            width: 200px;
            height: 200px;
            overflow-y: scroll;
        }
        .ui-state-default {
            padding: 5px;
            margin: 10px;
        }
        
    </style>
</head>

<body>
    <div class="col-md-6">
        <ul id="sortable2" class="connectedSortable">
            <li class="ui-state-default"><span>A</span></li> <li class="ui-state-default" ><span>B</span...

点击查看剩余70%

我知道答案,我要回答