Hi, I have a table like this:
Code:
<table>
<tr>
<td><a>moose.jpg</a></td>
<td>16kb</td>
<td><a>delete</a></td>
</tr>
</table>
The row is passed to a function via an onclick event using this script:
http://www.frequency-decoder.com/200...actions-script.
It is for a file browser. I need to get the text from the first td in the row (the file name).
I can get the text for the entire row, but not only the first td.
Code:
function rowSelectCallback(details){
var all_tds = $j(details.row).children('td').text();
alert(all_tds);
return true;
}
This alerts moose.jpg16kbdelete
Any ideas how to only get moose.jpg?
Thanks