title: Selecting a last child in javascript
body: <p>I have a handle on an Un-ordered List (for my example i will call the handle Var1) and would like to be able to assign its last li to a variable. I tried  <code>Lastli = var1.lastChild</code>  the only method I figured would work but it didn't. I can't seem to find a answer to this using only Javascript not jQuery any help is appreciated.</p>