Style: <style type = "text/CSS"> A {Background: transparent; text-Decoration: none ;}. form-wrap {position: relative; box-Shadow: Inset 0 0 10px rgba (0,0, 0, 0.2); Border: 1px solid # e1e1e0 ;}. tokenfield {transition: Min-height 120 ms; Height: auto; Min-Height: 87px; max-Height: 200px; overflow-X: hidden; overflow-Y: auto; box-Shadow: none; Border: none; Background: none ;}. tokenfield. form-control {padding: 7px ;}. form-control {display: block; width: 100%; font-size: 13px; line-Height: 1.42857; color: #333; Vertical-align: middle; border-radius: 0 ;}. tokenfield. token. invalid {Background: none; Border: 1px solid transparent; border-radius: 0; border-bottom: 1px dotted # b94a48 ;}. tokenfield. token {box-sizing: border-box; display: inline-block; margin:-1px 5px 5px 0; Vertical-align: Top; cursor: default; padding: 0 7px; height: 24px; line-Height: 24px; font-size: 13px ;}. tokenfield. token. token-label {display: inline-block; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: Gray; white-space: nowrap ;}. tokenfield. token. close {margin-left: 0; font-size: 15px ;}. close {font-family: "hiragino sans GB", simsun, "Microsoft yahei", sans-serif; display: inline-block; line-Height: 24px ;}. close {float: Right; font-weight: bold; color: #000; text-Shadow: 0 1px 0 # FFF; opacity: 0.2; filter: alpha (opacity = 20 );}. tokenfield. token-input {Background: none;/* Min-width: 60px; width: 100%; */Border: 1px solid transparent; line-Height: 24px; font-size: 13px; box-Shadow: none; Height: 24px; padding: 0 ;}. tokenfield. token-input: Focus {border-color: transparent; outline: 0; box-Shadow: none ;}. form-wrap. notice {color: # CCC; font-size: 12px; padding: 0 10px 5px;} </style>
<script language="javascript"> $(function () { $("a.close").live("click", function () { $(this).parent().remove(); return false; }); $("input.token-input").keyup(function (event) { var event = window.event || event; if (event.keyCode == 13) { if ($(this).val() != "") { var strHTML = "<div class=\"token invalid\" data-value=\"" + $(this).val() + "\"><span class=\"token-label\" style=\"max-width: 251px;\">" + $(this).val() + "</span><a href=\"#\" class=\"close\" tabindex=\"-1\">×</a></div>"; $(this).val(""); $(this).before(strHTML); $(this).focus(); } } }); }); </script>
<Div style = "width: 500px "> <Div class =" form-wrap "> <Div class =" tokenfield form-control "> <Div class =" token invalid "data-value =" sent"> <SPAN class = "token-label" style = "Max-width: 251px; "> send to </span> <a href =" # "class =" close "tabindex ="-1 "> × </a> </div> <Div class = "token invalid" data-value = "sent to"> <SPAN class = "token-label" style = "Max-width: 251px; "> sent to and sent to </span> <a href =" # "class = "Close" tabindex = "-1"> × </a> </div> <input type = "text" class = "token-input" AutoComplete = "off" Placeholder = "" id = "1410764747876174-tokenfield" tabindex = "0" style = "Min-width: 90px; width: 124px; "> <Div class =" notice "> You can query up to 20 waybill numbers at the same time. Separate them by commas, spaces, or enter keys. </Div>
Query results of SF logistics Ticket No. (You can enter multiple text boxes)