>Reading the whitepages now.
>
>Couldn't I just take the table name and put it in the JS function so when that function is called, it displays the table?
>
>I mean if I have the code in the HTML to physically display the table, it seems only logical that if I place that within the JS function it will only get display when it runs.
>
Yes, you can do that. The only reason I might not would be if I wanted to implement a toggle (show/hide) on the table and I wasn't going to display the same table for each link. For example, you had a list of items (each one of them being a link) and you wanted a different table to be shown depending on which link was clicked.
(hopefully this sample works, I didn't test it)
<a href="#" onclick="ToggleTable($("#IdOfTable"));return false;">Link here</a>
function ToggleTable(table) {
if (table.css('display') == 'none')
table.Show(500);
else
table.Hide(500);
}