Andreas Schneider: ASP Recordset in JS Array

Beitrag lesen

Hallo tschanne,

BI1[z][1] = <%=rsBI1("MID")%>;
   BI1[z][2] = <%=rsBI1("Beschaffungsinstrument")%>;

Wenn der Wert von Beschaffungsinstrument ein String ist, dann fehlen die Anführungszeichen:
BI1[z][2] = '<%=rsBI1("Beschaffungsinstrument")%>';

Grüße
Andreas

--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)