JQuery Div Question/Problem

[INDENT]The code given below does exactly what I want except for display placement. The user clicks on a radio button and the associated data is displayed. However, without the .empty() the data appends. I want it to overwrite. With the .empty() the program dies and won’t display any more data.

generateData($("#tbl"), 6, 7, 0);
	generateData($("#tbl"), 6, 7, index);

Naturally, any help will be appreciated.[/INDENT]

I discovered one solution; $(‘#tbl’).html(“”);
Thought maybe I had my wrapper div around other divs. I did but changing did not change the results for .empty(). Thanks for looking. Other comments/suggestions will be welcomed.