Hi Jan,
thank you for google'ing and the links. I will take a look as I am new to jquery and just used your and pbötcher's suggestion and tried to extend those.
Yes, I used span on purpose for now because I find it nicer to have the additional information places right there where it can be seen in the image.
The
problem I tried to describe in the thread is, that
the code works in the console: It adds that piece of text at the correct position,
but it does not work in the initial creation of the page directly. And the code is found in the source of the page (CTRL+U). An extraction of that area of code (I added some linebreaks to make it easier to read here):
Code: Select all
</div></div></div></form></div><div class="col-xs-1 md-hidden lg-hidden"></div></div>
<script>$j('#panel_ecomo_ContainerBilder-ID_Container tfoot tr td').append(' <span style="font-size: small !important;">(max. 10 je Container)</span>')</script>
<!-- Add footer template above here -->
When I run the $j in the console, the code is analyzed and interpreted as I want to
Code: Select all
<tfoot>
<tr>
<td colspan="8">
<span style="margin: 10px;">
Records 1 to 7 of 7 </span>
<span style="font-size: small !important;">(max. 10 je Container)</span></td>
</tr>
</tfoot>
Olaf