- $()
- $.camelCase v1.0+
- $.contains v1.0+
- $.each
- $.extend
- $.fn
- $.grep v1.0+
- $.inArray v1.0+
- $.isArray
- $.isFunction
- $.isPlainObject v1.0+
- $.isWindow v1.0+
- $.map
- $.parseJSON v1.0+
- $.trim v1.0+
- $.type v1.0+
- add
- addClass
- after
- append
- appendTo
- attr
- before
- children
- clone v1.0+
- closest
- concat
- contents v1.0+
- css
- data
- each
- empty
- eq
- filter
- find
- first
- forEach
- get
- has v1.0+
- hasClass
- height
- hide
- html
- index
- indexOf
- insertAfter
- insertBefore
- is
- last
- map
- next
- not
- offset
- offsetParent v1.0+
- parent
- parents
- pluck
- position v1.0+
- prepend
- prependTo
- prev
- prop v1.0+
- push
- ready
- reduce
- remove
- removeAttr
- removeClass
- replaceWith
- scrollLeft v1.1+
- scrollTop v1.0+
- show
- siblings
- size
- slice
- text
- toggle
- toggleClass
- unwrap
- val
- width
- wrap
- wrapAll
- wrapInner
- Detect module
- $.Event
- $.proxy v1.0+
- bind
- delegate
- die
- event.isDefaultPrevented v1.1+
- event.isImmediatePropagationStopped v1.1+
- event.isPropagationStopped v1.1+
- live
- off
- on
- one
- trigger
- triggerHandler
- unbind
- undelegate
- $.ajax
- $.ajaxJSONP
- $.ajaxSettings
- $.get
- $.getJSON
- $.param
- $.post
- load
- serialize
- serializeArray
- submit
- $.fx
- animate
- Touch events
- 前言
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
removeClass
removeClass([name]) ⇒ self
removeClass(function(index, oldClassName){ ... }) ⇒ self
移除当前对象集合中所有元素的指定class。如果没有指定name参数,将移出所有的class。多个class参数名称可以利用空格分隔。下例移除了两个class。
<input class="taiyang yueliang" id="check1" type="checkbox" checked="checked">
<input class="yaotaiyang" id="check2" type="checkbox"> <script type="text/javascript">$("#check1").removeClass("taiyang yueliang")//=>[<input class id="check1" type="checkbox" checked="checked">]
</script>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论