|
Author | Topic: appendChildren (Read 142 times) |
Former Admin Unknown User member is offline
Joined: Apr 2007 Gender: Male  Posts: 1 Karma: 0 |  | appendChildren « Thread Started on Apr 1, 2007, 4:49pm » | |
Enables you to append several children to an object at once.
Code:function appendChildren() { if(arguments.length > 1 && arguments[0].nodeType) { for(var i = 1; arguments[i].nodeType && i < arguments.length; i ++) { arguments[0].appendChild(arguments[i]); } } }
|
|
hope this helps
| Just rejoined so members would know the former admins post |
|
Retribution Global Moderator
     Graphics Request Moderator and Coding Aid member is offline
![[avatar]](http://img241.imageshack.us/img241/5276/wholesnu9.gif)
Oh No!
Joined: Mar 2007 Gender: Male  Posts: 300 Location: Below Canada, Above Mexico Karma: 2 |  | Re: appendChildren « Reply #1 on Apr 1, 2007, 6:05pm » | |
more of an open source than a tutorial
| I'm out of Coding ideas.. Someone Pm me some Ideas.
Add Me: Xfire: qsamurai Msn: ganderzz1@hotmail.com Email: retribution@downnthestreett.com |
|
Former Admin Unknown User member is offline
Joined: Apr 2007 Gender: Male  Posts: 1 Karma: 0 |  | Re: appendChildren « Reply #2 on Apr 4, 2007, 3:10pm » | |
Yes I know but open source does belong here.
| Just rejoined so members would know the former admins post |
|
|