Commit 7616faa2 authored by Zéfling's avatar Zéfling 🎨
Browse files

correction baku.dom.name

parent ae78e1cb
...@@ -6,11 +6,11 @@ baku.dom = { ...@@ -6,11 +6,11 @@ baku.dom = {
*/ */
'id' : function (id) { return document.getElementById(id) }, 'id' : function (id) { return document.getElementById(id) },
/** /**
* get a element by name ( name="xxx" ) * get a elements by name ( name="xxx" )
* @param name the name element * @param name the name element
* @return HTMLElement * @return HTMLElement
*/ */
'name' : function (name) { return document.getElementByName(name) }, 'name' : function (name) { return document.getElementsByName(name) },
/** /**
* get all elements that containts all classes list in params ( class="xxx yyy" ) * get all elements that containts all classes list in params ( class="xxx yyy" )
* @param classes class list (separete with space) * @param classes class list (separete with space)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment