current location:Home > Technical Articles > Web Front-end > JS Tutorial

  • 10 jQuery Plugins that Provide Cool Effects
    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
    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
    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
    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
    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
    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)
    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
    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
    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
    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 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
    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
    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)
    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
    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

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28