aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Unterminated string literal

Het echte opmaakwerk, alles vragen over HTMLen, CSSen en Javascripten.

Unterminated string literal

Berichtdoor frizzy » 08 feb 2009 11:11

De volgende code geeft deze error, iemand enig idee waarom?:
Code: Selecteer alles
var inhoud1 = "
      
<div class=\'mon_title\' style=\'font-size:15px;font-weight:bold;\'>9.2.2009 Maandag (Pagina 1 / 2)</div><p>
<table class=\'mon_list\' rules=\"all\" cellpadding=\"1\" cellspacing=\"1\">
<tr class=\'list\'><th class=\'list\' align=\'center\' width=\'5\'>Klas</th><th class=\'list\' align=\'center\'>Uren</th><th class=\'list\' align=\'center\'>was</th><th class=\'list\' align=\'center\'>wordt</th><th class=\'list\' align=\'center\'>was</th><th class=\'list\' align=\'center\'>wordt</th><th class=\'list\' align=\'center\'>Lokaal</th><th class=\'list\' align=\'center\'>opmerking</th></tr>
<tr class=\'list odd\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >BG1</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >6</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >ne</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >JCl</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list even\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >BG2</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >5</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >ne</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >JCl</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list odd\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4H</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >2</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >mo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >FBo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list even\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4H</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >5</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >gs</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >GHo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list odd\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4H</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >6</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >gs</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >GHo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list even\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4h3</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >3</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >ne</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >IDe</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list odd\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4V</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >6</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >mo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >FBo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list even\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4v2</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >2</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >ne</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >PWa</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list odd\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >5V</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >3</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >MO8</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >FBo</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
<tr class=\'list even\'><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >5v1</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >4</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >ne</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >PWa</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >---</td><td class=\'list\' align=\'center\' bgcolor=\"#8080C0\" >vrij</td></tr>
</table>
<p>
         ";

frizzy
wmpr
 
Berichten: 4261
Geregistreerd: 20 sep 2006 16:03
Woonplaats: Boskoop :D

Re: Unterminated string literal

Berichtdoor Derk » 08 feb 2009 13:34

Mischien handig even te melden met welke programmeertaal we nu bezig zijn.
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Unterminated string literal

Berichtdoor frizzy » 08 feb 2009 13:46

Javascript

Edit: iemand?

Edit2: Gelukt, enters weg :)
frizzy
wmpr
 
Berichten: 4261
Geregistreerd: 20 sep 2006 16:03
Woonplaats: Boskoop :D


Keer terug naar HTML, CSS, Javascript



cron