Ref Methods
# jQuery UI API Category - Methods
Although jQuery UI is primarily composed of (#), (#), and (#), there are also some simple methods that add convenience.
| API | Description | Also Belongs To |
| :--- | :--- | :--- |
| [.disableSelection()](#) | Disables the selection of text content within the matched set of elements. | (#) |
| [.effect()](#) | Applies an animated effect to an element. | (#) | (#) |
| [.enableSelection()](#) | Enables the selection of text content within the matched set of elements. | (#) |
| [.focus()](#) | Asynchronously focuses an element. | (#) | (#) |
| [.hide()](#) | Hides the matched elements with a custom effect. | (#) | (#) | (#) |
| [.position()](#) | Positions an element relative to another element. | (#) | (#) |
| [.removeUniqueId()](#) | Removes the Id set by .uniqueId() from the matched set of elements. | (#) |
| [.scrollParent()](#) | Gets the closest scrollable ancestor. | (#) |
| [.show()](#) | Shows the matched elements with a custom effect. | (#) | (#) | (#) |
| [.toggle()](#) | Shows or hides the matched elements with a custom effect. | (#) | (#) | (#) |
| [.uniqueId()](#) | Generates and applies a unique Id to the matched set of elements. | (#) |
| [.zIndex()](#) | Gets the z-index for an element. | (#) |
[](#)[jQuery UI API Category β Method Overrides](#)
[jQuery UI API Category β Selectors](#)[](#)
[Volcengine Coding Plan supports mainstream large models like Doubao, GLM, DeepSeek, Kimi, MiniMax, officially supplied and reliable. Configuration Guide Β₯9.9/month Subscribe Now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
YouTip