SoFunction
Updated on 2025-03-09

The art of comments - write HTML directly in JS without escaping

  • JavaScript function learning summary and related programming habits guide

    This article mainly introduces the JavaScript function learning summary and related programming habits guides. It includes very cool knowledge points such as anonymous functions and ternary operators. Friends who need it can refer to it.
    2015-11-11
  • The difference between Javascript call and apply and how to use it

    In JavaScript, call or apply to call a method instead of another object, changing the object context of a function from the initial context to the new object specified by thisObj
    2013-11-11
  • Example of whether to detect browser version, core, or mobile

    This article mainly introduces the example of whether the js browser version, core, and whether it is a mobile terminal. Friends who need it can refer to it
    2014-04-04
  • JavaScript json use itself

    I believe everyone has already become well-known in JavaScript. Let me share my experience with you below. I hope it will be helpful for everyone to learn json.
    2013-08-08
  • Deep understanding of JavaScript series (39): Detailed explanation of the adapter mode of design pattern

    This article mainly introduces an in-depth understanding of the JavaScript series (39): Detailed explanation of the adapter mode of the design pattern. The adapter mode (Adapter) is to convert an interface (method or attribute) of a class (object) into another interface (method or attribute) that the customer wants. Friends who need it can refer to it.
    2015-03-03
  • Array expansion of basic ES6 syntax

    This article introduces the array expansion of the basic syntax of ES6, and the article introduces it in detail through sample code. It has certain reference value for everyone's study or work. Friends who need it can refer to it.
    2022-05-05
  • javascript bubble sorting summary

    Because bubble sorting is simple and easy to understand, it often becomes the first sorting algorithm that comes to mind. The most basic idea is to compare two numbers in one go and make sure they have a correct order before moving to other items. At the end of each level, the valuable "sorting" goes to the right place, leaving only other items sorted.
    2016-04-04
  • parse the getParent method of parent window link and various methods to open windows in js

    This article provides a detailed analysis and introduction to obtaining the parent window link getParent method and various methods of opening windows in js. Please refer to it if you need it.
    2013-06-06
  • Ajax does not execute success callback but executes error callback

    Recently, I am reading jQuery API documentation. When using jQuery's ajax, if the dataType is specified as json, I always do not execute the success callback, but execute the error callback function, which is extremely depressed
    2012-12-12
  • In-depth analysis of object concepts in JavaScript programming

    This article mainly introduces the object concept in JavaScript programming, and is also the basic knowledge of JS object-oriented programming. Friends who need it can refer to it.
    2015-10-10