i have an html table which is built dynamically. i have an event handler attached to the table which sorts a column when the column is clicked. I wish to force a column sort (i.e. sort the table by a specific column) once the page has finished loading.
currently, i use document.getElementById(ElementName).click(); This works in IE but not FireFox. How can i achieve the same effect in Firefox?