Fehler in einem Skript..
Hi,
also ich habe einen Strato Shopbuilder und habe das Problem, dass er mir einen fehler bringt:
document.itemsform.box1.value
Objekt ist Null oder Kein Objekt
Ich glaube inn dem Teil ist irgendwo ein Fehlerchen...
Thx,
Gruß Marco
also ich habe einen Strato Shopbuilder und habe das Problem, dass er mir einen fehler bringt:
document.itemsform.box1.value
Objekt ist Null oder Kein Objekt
Zitat
....
<script language=javascript>
if (gssbItems[{BoxCount}].numberVariants>1)
{
document.writeln('<input type="button" name="order" '
+ 'value="{ORDERBUTTONTEXT}" '
+ 'onClick="'
+ "javascript:parent.buyItem(gssbItems[{boxCount}].variants[document.itemsform.variantsel{boxcount}.selectedIndex+1], document.itemsform.{AmountBoxName}.value,"
+ "{TextFieldName},{AttField1},{AttField2},{AttField3}, '{productvatrate}','{weight}')"
+ '"class="buttons">');
}
else
{
document.writeln('<input type="button" name="order" '
+ 'value="{ORDERBUTTONTEXT}" '
+ 'onClick="'
+ "javascript:parent.buyItem(gssbItems[{boxCount}].variants[1], document.itemsform.{AmountBoxName}.value,"
+ "{TextFieldName},{AttField1},{AttField2},{AttField3}, '{productvatrate}','{weight}')"
+ '"class="buttons">');
}
</script>
...
Ich glaube inn dem Teil ist irgendwo ein Fehlerchen...
Thx,
Gruß Marco
.: mit dem Alter kommt die Weisheit - oder auch nicht :.


