5 JavaScript Tips
to make your code better

Khang Nguyen - khang@cogini.com

Rendering Readable HTML

Modify the DOM, with care

Event delegation

<table id="myTable">
        <td> Box 1 </td>
        <!--  censored -->
        <td class="classA"> Box 10 </td>
    <!--  censored -->
        <td> Box 90 </td>
        <!--  censored -->
        <td> Box 100 </td>

jQuery Kool-Aid

Be careful with jQuery
(or why shouldn't one drink too much kool-aid)

Do your homework, learn you some design patterns

Thank you!