removeclass

removeclassremoveclass
  1. For example , removeClass (), which takes a class name as an argument , will remove an individual class from an element .

    例如removeClass()方法,该方法以一个类名作为参数,它将移除元素中的一个类。

  2. Though those methods are easy to use , and straightforward , they aren 't really the solution for a large Web application and should be avoided in favor of the addClass () and removeClass () methods .

    虽然这些方法直观易用,但是不太适合大型Web应用程序,应该避免采用addClass()和removeClass()方法。