current location:Home > Technical Articles > Web Front-end > JS Tutorial
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 10 jQuery Plugins that Provide Cool Effects
- This post showcases ten exceptional jQuery plugins offering unique and visually appealing effects. Let's explore these plugins and their capabilities! jQuery Lens Flare Effect Plugin: This plugin effortlessly adds a stylish lens flare effect to yo
- JS Tutorial 1003 2025-02-27 09:39:10
-
- 10 Best jQuery and HTML5 Media Players
- Ten best jQuery and HTML5 video players tutorials In the past, Flash videos were used on websites because Flash was almost the only option to play videos. But now everyone wants video playback support to be broader, with multiple audio and video formats, playlists, adjustable controls, automatic aspect ratio video and more… All of these features can be achieved by using jQuery plug-in and HTML5, and you can use audio and video in a simple way. Check out the ten best jQuery and HTML5 player tutorials we have compiled below! enjoy! Related articles: 10 Crazy HTML5 and JS Experiments Showcase jQuery and the new HTML5 key points jQuery
- JS Tutorial 360 2025-02-27 09:38:10
-
- jquery sort array by index
- Detailed explanation of JavaScript array sorting: sorting by index value and FAQ This article will introduce how to efficiently sort arrays using JavaScript, especially the method of sorting by index values, and analyze their performance. In addition, some common questions about JavaScript array sorting will be answered. An example of sorting by index value: var data = Array(); data[0] = {"apples":1, "pears":2, "oranges":3}; data[1] = {"apples":
- JS Tutorial 848 2025-02-27 09:32:10
-
- jquery convert json string to array
- This jQuery snippet converts a JSON string to an array of objects and iterates through them, outputting the key-value pairs. The second snippet shows how to convert the array back to a JSON string using stringify. However, the provided data.stringi
- JS Tutorial 263 2025-02-27 09:31:08
-
- Server-sent Events
- Core points Server Send Events (SSE) is a method of pushing data and/or DOM events from the server to the client using streams, which is ideal for situations where data needs to be updated regularly, such as sports scores or stock quotes. Creating EventSource objects allows you to subscribe to event streams and can handle open, message, and error events. Sending events from the server requires content to be provided using the Content-type header (value text/event-stream) and UTF-8 character encoding. The syntax for the server to send events includes data, event type, event identifier, and retry interval. Event handling can use the onmessage function (only
- JS Tutorial 869 2025-02-27 09:25:10
-
- Visualize Your Data And Speed Up Your Site With Dynamic Chart Libraries
- Create a data visual interface that combines aesthetics and efficiency. Designers should strive to create interfaces that are not only visually attractive, but also flexible and efficient. Data visualization should strike a balance between aesthetics and practicality. Dynamic Chart Library provides a practical solution for data visualization, allowing real-time updates, interactivity, and significantly reducing page loading time for a smoother user experience. There are a variety of dynamic chart libraries to choose from, each with its pros and cons, including HighCharts, PlotKit, d3.js, FusionCharts, Google Chart Tools, and Flot. These libraries range from simple, free to powerful and expensive. Dynamic chart library can process large amounts of data and supports various charts
- JS Tutorial 368 2025-02-27 09:20:17
-
- jQuery remove table column (by column number)
- Use jQuery to delete table columns (by column number) Here is a simple jQuery code snippet for deleting the entire table column according to the column number. It also deletes the table row title associated with the deleted column. // Delete the first column $('#table').find('td,th').first().remove(); // Delete the second column $('table tr').find('td:eq(1),th:eq(1)').remove(); // Delete column n (n represents column number) $('table tr').find('td:eq(n),th:eq(n)').remov
- JS Tutorial 617 2025-02-27 09:19:19
-
- jQuery get id of visible element
- Get the jQuery code snippet of visible element ID Use jQuery selector: visible to easily get the ID of the visible element. To select an invisible element, you can use the :not(:visible) selector. For example, to get the ID of the currently visible form, you can use the following code: var $visibleForm = $('form:visible'), formId = $visibleForm.attr('id'); console.log(formId); jQuery visible element ID FAQ How to select elements based on ID using jQuery?
- JS Tutorial 458 2025-02-27 09:11:10
-
- Interesting JavaScript, jQuery & Random Web Dev on the Net – March 2012
- March 2012's edition of Interestingly Random JavaScript, jQuery, and Web Development showcases exciting advancements in web development. This issue covers rapid mobile prototyping techniques, new JavaScript libraries, helpful online tools, a fascina
- JS Tutorial 662 2025-02-27 09:06:10
-
- JavaScript and jQuery PDF Viewer Plugins
- This post showcases several JavaScript and jQuery plugins for embedding and displaying PDF files in web pages. Let's explore some top options! Related Articles: 10 Essential jQuery Pagination Plugins jQuery Plugin Showdown: lightBox vs. ColorBox vs.
- JS Tutorial 550 2025-02-27 09:05:10
-
- jQuery Ajax Loading using ajaxStart/ajaxSetup
- jQuery AJAX Loading with ajaxStart() and ajaxStop() This guide demonstrates using jQuery's ajaxStart() and ajaxStop() methods to manage loading indicators during AJAX requests. We'll cover several approaches, including using these methods directly,
- JS Tutorial 230 2025-02-27 09:04:09
-
- jQuery get coordinates of element
- How to get element coordinates using jQuery jQuery provides a variety of ways to obtain coordinate information of elements. 1. .position() method: Get the coordinates of an element that offsets the parent element relative to it. Offset parent element refers to the nearest ancestor element with a non-static positioning method. var pos = $('#wrapper').position(); console.dir(pos); // Output: left: 0, top: 20 2. .offset() method: Get the coordinates of an element relative to the document. var offset = $('#wrapper').o
- JS Tutorial 884 2025-02-27 09:03:11
-
- jQuery Get html Including Element Tag
- If you use Ajax features heavily, it may be useful to get HTML code for elements containing tags. I believe there must be an easier way than cloning an element in the wrapper and then using jQuery to get the wrapper HTML containing the element tag HTML. Before I find a better (more efficient) approach, here is a snippet of code. .clone().wrap('').parent().html(); Some other methods (from post comments, thank you): // Not sure how portable it is on different browsers $('#foo')[0].outerHTML; var foo = $('#bar')
- JS Tutorial 534 2025-02-27 09:00:24
-
- 10 Cool jQuery Clock Tutorials (Analog and Digital)
- This post showcases a collection of impressive jQuery analog and digital clock tutorials to modernize your website. Let's dive into these time-telling marvels! Related articles: 10 jQuery Calendar and Clock Picker Plugins Create Your Own jQuery Dig
- JS Tutorial 945 2025-02-27 08:58:24
-
- jQuery Clear All Timeouts
- This article explores the use of setTimeout() and clearTimeout() in JavaScript, particularly within the context of animations and jQuery. It highlights the importance of storing timeout IDs in variables to enable cancellation. The article demonstrat
- JS Tutorial 466 2025-02-27 08:57:14