npm install qweryquerySelectorAll giving you practical utility.As of version 4.0, qwery no longer supports IE6 - IE8. If your application still requires this level of support, please see the final 3.x release.
- IE9+
- Chrome 1+
- Safari 3+
- Firefox 4+
`` js`
qwery('div', node); // existing DOM node or...
qwery('div', '#foo'); // another query
` sh`
npm install
make
open tests/index.html
` sh`
npm install ender -g
Include qwery into your package.json
` json`
{
"dependencies": {
"qwery": "x.x.x"
}
}
` js
// the context finder - find all p elements descended from a div element
$('div').find('p')
// join one set with another
$('div').and('p') // equal to $('div,p')
`
` sh`
ender build qwery bean bonzo
Then write code like a boss:
` hello world js``
$('
.css({
color: 'red',
background: 'white'
})
.after('√')
.bind({
'click.button': function () {
$(this).hide().unbind('click.button')
}
})
.appendTo('body')