Skip to content

A fast and easy way of getting DOM elements without adding a large library like jQuery.

Notifications You must be signed in to change notification settings

matthewpalmer/qdom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qdom

A fast and easy way of getting DOM elements without adding a large library like jQuery.

Example

<script src="qdom.js"></script>
<script>
var q = new Qdom();

// Based on class
var c = q.className('className'); // Returns an array of objects matching className

// Based on id
var i = q.id('idName'); // Returns an object matching idName

// Based on tag
var t = q.tag('tagName'); // Returns an array of objects matching tagName

</script>

See also: example.html

About

A fast and easy way of getting DOM elements without adding a large library like jQuery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published