I want a table to be bigger (or smaller) with some pixels after i clicked a button.
Now what i have is this :
<script language="JavaScript">
function test()
var test0r = document.getElementById("TopTable").width;
document.getElementById("TopTable").setAttribute("width", test0r += 10);

<table border=1 id="TopTable">


<input type="button" value="Klik!" onclick="test();">
It does something though, it just makes the table 10 times bigger or so

anyone has an idea on how to fix this bug / problem?

thx in advance