Is there a way I can create a function and a apply to a variable the height of a precise table cell <td>? even if the <td> tag doesn't have an absolute height set, and it's height is determined by the content within it?

Let's say for example that I have the following html code:

<table width="100" border="1" cellspacing="0" cellpadding="0">
<tr><td>I need to apply the height of this cell to a js variable! what steps should I follow?</td></tr>