I'm using the technique
echo "
<script language = 'JavaScript'>
document.itemsform.check_basket_codes.value = getcookiedata(WilkinsonBasketCode);
document.itemsform.check_basket_quantities.value = getcookiedata(WilkinsonBasketQuantity);
</script>
";
to change the contents of a hidden form field using Javascript within PHP. I use this technique a lot with success. However on this ocassion it print as text instead of executing. Can anyone spot why please?
regards, Graham