accessing array of input element values

accessing array of input element values


Hi
<table cellspacing="0" cellpadding="0" border="0"
id="playlistbuilder">
<tr >
<td> text1</td>
</tr>
<tr>
<td> text2</td>
</tr>
</table>
For above Html I am able to access the td values(text1, text2) by
following way,
$('#playlistbuilder tr td').each(
function(i)
{
obj["entry"+i] = $(this).text();
}
);
Same way I want to access for following values of input elements of id
addtracklist
<ul id="addTracklist">
<input type="text" id="newPl0" readonly="readonly" value="text1" /