<script type="text/javascript">
$('#cb_show_details').click(function(){ $('[id$="row2"]').toggle() });
</script>
- <table width="100%">
+ <table id='display_row' width="100%">
<tr class="listheading">[% FOREACH header = HEADER %][% IF header.display %]
<th align="left" nowrap width="[% header.width %]" class="listheading">[% header.value %]</th>[% END %][% END %]
</tr>
</table>
</td>
</tr>
+<script type='text/javascript'>
+ $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>
<script type="text/javascript">
$('#cb_show_details').click(function(){ $('[id$="row2"]').toggle() });
</script>
- <table width="100%">
+ <table id='display_row' width="100%">
<tr class="listheading">[% FOREACH header = HEADER %][% IF header.display %]
<th align="left" nowrap width="[% header.width %]" class="listheading">[% header.value %]</th>[% END %][% END %]
</tr>
</table>
</td>
</tr>
+<script type='text/javascript'>
+ $(document).ready( function(){ $('#display_row tr:gt(1) input[name*="description"]').focus() });
+</script>