Bootstart select picker dropdown fuzzy query

Recently, I have been using bootstrap to write a few blogs.... bootstrap selectpicker is a relatively simple component of a drop-down box in bootstrap. The effect is as follows: Attach the api link on the official website, http://silviomoreto.github.io/bootstrap-select/ (there seems to be something wrong with the offic ...

Posted by surreal5335 on Sun, 05 Apr 2020 13:09:49 -0700

Using js to realize simple and interesting face recognition

In the previous stage, I wanted to play face recognition. I found an interesting plug-in package. Although it is not particularly powerful, it can still achieve results relatively. It is mainly simple. It can be used within 5 minutes. You can play it. Now I will share it with you This plug-in is jquery.facedetection F ...

Posted by webent on Sun, 05 Apr 2020 12:29:08 -0700

About the records of using layui upload component

Most of the original information written by many bloggers from Baidu is their crystallization. Thank you again The purpose of writing this blog post is to make a record for yourself, which is convenient for future use Paste the front code first <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3. ...

Posted by Cenron on Sun, 05 Apr 2020 01:15:47 -0700

Event binding methods for DOM elements added dynamically in jQuery2.x and above

jquery dynamic add element cannot trigger the solution of binding event. jquery dynamically adds a solution to an event that cannot trigger a binding.   Recently, we have encountered a problem in our work, that is, when we use jquery to dynamically add elements, we find that the elements added to the dynamic cannot trigger events. Later, I ...

Posted by EvilPrimate on Sun, 05 Apr 2020 00:04:13 -0700

JQuery implementation input upload image display thumbnail

Recently, I made a set of mobile shopping mall page, which has the function of uploading pictures to display thumbnails on the refund application page. I haven't done this before, so I sorted it out. First HTML: <p>Upload picture:</p> <div id="imgPreview"></div> <span class="upload-img">& ...

Posted by Dragoonus on Sat, 04 Apr 2020 16:58:33 -0700

The implementation of multi criteria filtering in jquery

html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jquery Multi criteria filtering</title> </head> <body> <div id="wrap"> <ul class="select"> <li class="select-list"> <dl id="select1"> <dt>Jacket:</dt> <dd ...

Posted by andyg2 on Sat, 04 Apr 2020 11:46:39 -0700

Event capture and detailed explanation of event bubble

Binding of events The difference between addEventListener and event binding on addEventListener can bind multiple identical events to an element and ensure that all events will be executed Multiple events bound with on are overwritten by the last event Remove event binding: removeEventListener Event captu ...

Posted by JAM on Sat, 04 Apr 2020 11:23:47 -0700

on and off problems in jQuery

First of all, the basic scientific knowledge. On () and. Off () method is the jQuery 1.7 official release Code example 1 var $test = $(document); function handler1() { console.log( "handler1" ); $test.off( "click", handler2 ); } function handler2() { console.log( "handler2" ); } $test.on( "click", handler1 ...

Posted by matfish on Sat, 04 Apr 2020 08:37:06 -0700

Vue 2.0 monitoring text box content changes and ref instructions

<!DOCTYPE html>   <html lang="en">          <head>           <meta charset="UTF-8">           <title>Title</title>           <link rel="stylesheet" href="css/bootstrap.css">           <script src="js/jquery-3.2.1.min.js"></script>           <script src="js/bootstrap.js ...

Posted by TheMD on Sat, 04 Apr 2020 02:40:52 -0700

jquery form validation plug-in - validation form

The blogger recommended jQuery Validate before, because it was used before, but the configuration was a little bit cumbersome. Until the recent project used the validform, it opened my eyes. The whole interface suddenly felt too friendly. Let's take a few renderings first. There are very few css and j ...

Posted by chemoautotroph on Fri, 03 Apr 2020 23:15:41 -0700