Tag:jquery

  • Example of tab function implemented based on jQuery [download source code]

    Time:2020-1-22

    The example of this paper describes the tab function based on jQuery. To share with you for your reference, as follows: JQuery, the killer level JS framework, has obviously become the standard JS Library in the development field, which is often used in the development of general web applications. Today, I found a plug-in to […]

  • Summary of common methods for jQuery to operate checkbox [download test source code]

    Time:2020-1-18

    This paper describes the common methods of jQuery to operate checkbox. To share with you for your reference, as follows: In the process of system building, it is inevitable to deal with the checkbox check box. In every system, it is an essential dish. The usual operations are as follows: 1. Use jQuery to select […]

  • Implementation of Ajax by native JS and jquery

    Time:2020-1-17

    Implementation of Ajax by native JS and jquery I. definition This is how AJAX is interpreted in the W3C: Ajax = asynchronous JavaScript and XML. AJAX is not a new programming language, but a new way to use existing standards.AJAX is the art of exchanging data with servers and updating parts of a web page […]

  • Ajax and jQuery pagination realize asynchronous page turning function

    Time:2020-1-6

    A lot of data is often needed to display on the page. At this time, we can’t display all the content on one page. At this time, we need to introduce page turning. In order not to refresh every page, we need to use ajax to load data asynchronously. Ajax use If you are not […]

  • Analysis of Ajax functions implemented by jQuery [interacting with the background of flask]

    Time:2020-1-4

    An example of this article describes how jQuery implements Ajax functions. To share with you for your reference, as follows: JQuery is a small JavaScript library, which is usually used to simplify Dom and JavaScript operations. Exchanging JSON data between the server and the client is the perfect way to make web applications dynamic. JSON […]

  • JQuery introduction notes (5) Ajax in jquery

    Time:2020-1-3

    Reprinted from personal blog I won’t talk about the overview of Ajax. I’m interested in looking for it myself, and I suggest that I go to my blog to see the implementation of native JS to implement Ajax functions, hoping to help. The server configuration, that article also gives the address.Getting started with Ajax (1) […]

  • JQuery advanced: write Ajax requests in the most elegant way

    Time:2020-1-2

    Maybe you can also try: xfire: a simple, elegant and highly configurable batch generation tool for fetch interface You need a profile first var api = { basePath: ‘http://192.168.200.226:58080’, pathList: [ { name: ‘agentHeartBeat’, path:’/api/csta/agent/heartbeat/{{agentId}}/{{type}}/{{something}}’, method:’get’ }, { name: ‘setAgentState’, path: ‘/api/csta/agent/state’, method: ‘post’ }, { name: ‘getAgents’, path: ‘/user/agent/{{query}}’, method: ‘get’ } ] } […]

  • Node.js express jQuery Ajax post options cross domain solution

    Time:2019-12-31

    Just give the right answer. One server isnode.js & express:The simplest is to use expressjs / CORSinstallnpm install cors –saveIntroducevar cors = require(‘cors’);Useapp.use(cors());This completes the server side. Two clientsjs & jQuery:You can’t use shortcuts first$.post()It has to be used.$.ajax() $.ajax({ type: ‘POST’, url: ‘…’, data: JSON.stringify(params), processData: false, contentType: ‘application/json’, dataType: ‘json’ }).then(function(ret){ alert(ret); }); […]

  • Flask + jQuery validation plug-in + Ajax for form validation

    Time:2019-12-28

    In the practice of flask web development, the submission and verification of forms are often involved. Flask WTF, a plug-in of flask, provides many methods for form verification. However, it is known that these forms need to be submitted and then verified. It is impossible to check whether the user name format is correct after […]

  • The processing of jQuery Ajax request parameters and return data

    Time:2019-12-27

    When I first learned how to use jQuery Ajax, I thought it was amazing, so I could get the data back. Then I can render the retrieved data to the page, a rowing boat.I came into contact with the project a long time ago, and I don’t know how to use jQuery Ajax gracefully (it’s […]

  • Braingraftedbootstrap for symfony (assertic management mode)

    Time:2019-12-27

    1. Dependency package management stayComposerAdd the following package structure: { “require”: { “braincrafted/bootstrap-bundle”: “~2.0”, “twbs/bootstrap”: “3.0.*”, “jquery/jquery”: “1.11.*”, “leafo/lessphp”: “0.4.0”, “knplabs/knp-paginator-bundle”: “2.4.0” }, //!! The two lines of comments here cannot be added to composer.json, otherwise an error will be reported //Create a new composer repositories temporarily “repositories”: [ { “type”: “package”, “package”: { “name”: […]

  • How to use toolip.js in jQuery UI and bootstrap respectively

    Time:2019-12-19

    Method 1. Using jqueryIntroduce jquery-ui-1.10.3.min.css and jquery-ui-1.10.3.min.js”<img src=’/img/folder.png'”+ size +” data-toggle=’tooltip’ title='”+ object.title +”‘>”The title attribute is enough.Display effect:2. Use bootstrap tooltip.js to pay attention to the introduction of the package. Because it is a pop-up box, there are arrows, and there are ways to remove it on the Internet, so readers can find it […]