# Methods
虽然jQuery UI主要包含的是[widgets](/category/widgets/), [interactions](/category/interactions/), h和 [effects](/category/effects/), 也添加了几个简单方便的方法。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .disableSelection()
禁用选择匹配的元素集合内的文本内容。
Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Effects Core](http://www.css88.com/jquery-ui-api/category/effects-core/ "View all posts in Effects Core")
## .effect()
对一个元素应用动画特效。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .enableSelection()
启用选择匹配的元素集合内的文本内容。
Also in: [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") | [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .focus()
异步聚焦到一个元素。
Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Effects Core](http://www.css88.com/jquery-ui-api/category/effects-core/ "View all posts in Effects Core") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides")
## .hide()
使用自定义效果来隐藏匹配的元素。
Also in: [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") | [Utilities](http://www.css88.com/jquery-ui-api/category/utilities/ "View all posts in Utilities")
## .position()
相对另一个元素定位一个元素。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .removeUniqueId()
为匹配的元素集合移除由 .uniqueId() 设置的 Id。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .scrollParent()
获取最近的可滚动的祖先。
Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Effects Core](http://www.css88.com/jquery-ui-api/category/effects-core/ "View all posts in Effects Core") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides")
## .show()
使用自定义效果来显示匹配的元素。
Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Effects Core](http://www.css88.com/jquery-ui-api/category/effects-core/ "View all posts in Effects Core") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides")
## .toggle()
使用自定义效果来显示或隐藏匹配的元素。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .uniqueId()
为匹配的元素集合生成并申请一个唯一的 Id。
Also in: [UI Core](http://www.css88.com/jquery-ui-api/category/ui-core/ "View all posts in UI Core")
## .zIndex()
为元素获取 z-index。
- 索引
- Effects
- .addClass()
- Blind Effect
- Bounce Effect
- Clip Effect
- Color Animation
- Drop Effect
- Easings
- .effect()
- Explode Effect
- Fade Effect
- Fold Effect
- .hide()
- Highlight Effect
- Puff Effect
- Pulsate Effect
- .removeClass()
- Scale Effect
- Shake Effect
- .show()
- Size Effect
- Slide Effect
- .switchClass()
- .toggle()
- .toggleClass()
- Transfer Effect
- Effect Core
- .addClass()
- Color Animation
- .effect()
- .hide()
- .removeClass()
- .show()
- .switchClass()
- .toggle()
- .toggleClass()
- Interactions
- Draggable Widget
- Droppable Widget
- Mouse Interaction
- Resizable Widget
- Resizable Widget
- Selectable Widget
- Sortable Widget
- Method Overrides
- .addClass()
- .focus()
- .hide()
- .position()
- .removeClass()
- .show()
- .toggle()
- .toggleClass()
- Methods
- .disableSelection()
- .effect()
- .enableSelection()
- .focus()
- .hide()
- .position()
- .removeUniqueId()
- .scrollParent()
- .show()
- .toggle()
- .uniqueId()
- .zIndex()
- Selectors
- :data() Selector
- :focusable Selector
- :tabbable Selector
- Theming
- CSS 框架(CSS Framework)
- Icons
- Stacking Elements
- UI Core
- :data() Selector
- .disableSelection()
- .enableSelection()
- .focus()
- :focusable Selector
- .removeUniqueId()
- .scrollParent()
- :tabbable Selector
- .uniqueId()
- .zIndex()
- Utilities
- Easings
- Widget Factory
- Widget Plugin Bridge
- Mouse Interaction
- .position()
- Widgets
- Accordion Widget
- Autocomplete Widget
- Button Widget
- Datepicker Widget
- Dialog Widget
- Menu Widget
- Progressbar Widget
- Slider Widget
- Spinner Widget
- Tabs Widget
- Tooltip Widget