- From: Taylor, P <P.Taylor@rhul.ac.uk>
- Date: Tue, 22 Jan 2019 09:07:19 +0000
- To: Steve Glennie-Smith <sgs@stevegs.com>
- CC: "www-validator@w3.org" <www-validator@w3.org>
Received on Tuesday, 22 January 2019 09:07:43 UTC
The verifier really cannot be expected to look inside scripts. The following might pass verification and is cleaner.
<tr>
<script>
document.write (' <th colspan="3">Tax:');
if (overpaid)
document.write (' overpaid<\/th><td class="red">');
else
document.write (' due<\/th><td class="total">');
var amount = 40.73;
document.write ('£' + amount + '<\/td>');
</script>
</tr>
If that too fails, write the opening and closing <tr> tags within the script as well.
--
<Signature>
Philip Taylor
Received on Tuesday, 22 January 2019 09:07:43 UTC