Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
You can also do it with IOL without any additional data fields and keep the original commas and justification. You of course have to use and IOL field but you should have this in every application so you can immediately implement new script solutions without delay.
Assuming the label is "number" this script finds the cell with the label, selects the next cell (which contains the value) and wraps in in bold tags.
Assuming the label is "number" this script finds the cell with the label, selects the next cell (which contains the value) and wraps in in bold tags.
$("td.label:has(label.fieldLabel b:contains(number))").next("td").wrapInner("<b></b>");Reference the unmodified HTML:
<tr class="formRow ">and the modified HTML:
<td id="tdl_0" class="label lc">
<label class="fieldLabel">
<b>number</b>
</label>
</td>
<td id="tdf_0" class="cell cc nowrap" colspan="100">5,029.36</td>
</tr>
<tr class="formRow ">
<td id="tdl_0" class="label lc">
<label class="fieldLabel">
<b>number</b>
</label>
</td>
<td id="tdf_0" class="cell cc nowrap" colspan="100"><b>5,029.36</b></td>
</tr>
BernardLucino
8 years agoQrew Trainee
Hi Dan,
Thanks for your help. I just want to ask, what if I want 2 labels to be in bold, does the below scripts correct?
$("td.label:has(label.fieldLabel b:contains(PO TOTAL; PO Currency))").next("td").wrapInner("<b></b>");
Thanks for your help. I just want to ask, what if I want 2 labels to be in bold, does the below scripts correct?
$("td.label:has(label.fieldLabel b:contains(PO TOTAL; PO Currency))").next("td").wrapInner("<b></b>");