Klaas De Waele <klaas@gracegraphics.be> wrote: > wouldn't the </ sequence make it a bit of a pain to include > eventual end tags like </td> in the script... Yes, but that's true of the current "<!-- ... -->" approach too. The traditional solution is to escape the slash: document.write('<p>Jam sandwich<\/p>'); Popular browsers typically let you get away with it, but the validator will notice the flub. Not that it will explain it - cause of many a confused posting to www-html... -- Andrew Clover Technical Consultant 1VALUE.com AGReceived on Wednesday, 27 June 2001 06:36:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:59:14 GMT