An open API service indexing awesome lists of open source software.

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.

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](https://cloud.githubusercontent.com/assets/398893/3528325/20373e76-078e-11e4-8e3a-1cb86cf506f0.png) | ![Chrome](https://cloud.githubusercontent.com/assets/398893/3528328/23bc7bc4-078e-11e4-8752-ba2809bf5cce.png) | ![Firefox](https://cloud.githubusercontent.com/assets/398893/3528329/26283ab0-078e-11e4-84d4-db2cf1009953.png) | ![Opera](https://cloud.githubusercontent.com/assets/398893/3528330/27ec9fa8-078e-11e4-95cb-709fd11dac16.png) | ![Safari](https://cloud.githubusercontent.com/assets/398893/3528331/29df8618-078e-11e4-8e3e-ed8ac738693f.png)
--- | --- | --- | --- | --- |
IE 8+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |