Javascript, JQuery, MooTools, Prototype, JSON
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
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