Want to use Vanilla JS but want the jQuery fell without the bloat? NodJs is for you.
This project is now in beta, make sure to test your integration with this code thoroughly before deploying
Sometimes you dont need a flamethrower to make pancakes!
Clone the repository:
$ git clone https://github.com/nodsaibot/nodjs
Then just include the script!
<script src="{your_assets_path}/nod.js" type="application/javascript"></script>
$(".test") // class or id selector
$("input[name=email], li:first-of-type") // multiple css selector
$("#test").html() // html content getter
$("#test").html('works') // html content setter
$("#test").html().length // vanilla properties and methods still work
$("#toggler").on("click",function(e){ e.preventDefault(); $("#menu").toggle(); /* show() hide() */ }); // event listeners
click, keypress, submit, dblclick, keydown, change, mouseenter, keyup, focus mouseleave, blur
Please consider this repo as-is, I will not give support to issues