Javascript

Javascript, JQuery, MooTools, Prototype, JSON

Javascript Dynamic Tables

by: Matt Hofstetter | March 17 , 2011 | views: 293

function addCol(table){ var table = document.getElementById(table); var th = document.createElement('th'); th.innerHTML = ""; table.rows[0].appendChild(th); for(i=1; i view article

Reversing a Select Box with Javascript

by: Matt Hofstetter | March 8 , 2011 | views: 139

Whether you are working with select boxes that are generated outside of your control, or trying to implement sorting features in your user interface, you may find it necessary to dynamically reverse the options in a select box. These select box options are reversed dynamically here with Javascript function… view article