Hey thanks for your help, that managed to cure the problem. But now when I press button and run a piece of code called "showTable" (to display the table) it remains hidden...I have placed some alerts in the code to see where it is going wrong and it seems that after the button is pressed,the...