https://github.com/victornpb/j
Just the j of jQuery, a very small jQuery replacement for DOM manipulation.
https://github.com/victornpb/j
Last synced: 7 months ago
JSON representation
Just the j of jQuery, a very small jQuery replacement for DOM manipulation.
- Host: GitHub
- URL: https://github.com/victornpb/j
- Owner: victornpb
- License: apache-2.0
- Created: 2017-07-24T19:11:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T00:08:12.000Z (about 8 years ago)
- Last Synced: 2025-01-17T02:15:00.201Z (9 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# j
Just the j of jQuery, a very small jQuery replacement for DOM manipulation.## Example
j('#id').hide();
## Methods
* insertBefore(target)
* insertAfter(target)
* before(child)
* after(child)
* prepend(child)
* append(child)
* appendTo(node)
* prependTo(node)
* contains(child)
* hide()
* show()
* addClass(className)
* removeClass(className)
* toggleClass(className)
* hasClass(className)
* empty()
* parent()
* remove()
* next()
* prev()
* html(html)
* siblings()
* text()
* position()
* css(ruleName)## Browser Support
 |  |  |  | 
--- | --- | --- | --- | --- |
IE 8+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |