Add a table in codebehind, getElementById it using javascript? asp.net
<p>If you create a table and add it, the ClientID property in the code behind doesn't reflect the ID in the actual file, so document.getElementById doesn't work.</p>

<p>How can I add a control, and be able to access it using Javascript, with only its ID (such as 'table1')?</p>
