|
|||
|
Hello
I have defined two shipping options: flat and selfpick. Here is small script error, if I will change payment or shipping options: Example for shipping options change: A runtime error was occured. Do you wish to debug? Line: 45 Error: document.checkout_payment.payment is null or not an object version RC1.2 Thank you |
|
|||
|
Zitat:
i've got the same error, but you can deactivate the script in the template file and it will works only as a form without optical effects. I know, it is a quick 'n dirty reason, but i am not the great javascripter... ...However you can also realize this effect by using css, but i haven't tested it up to now personally. Greetz and nice weekend ! Thomas Hi Where can I disable this javascript? Thank you |
|
|||
|
Zitat:
in the file header.php (not include/header.php) I have disabled this: // var FormRadioButtons = (document.checkout_address) ? document.checkout_address.address : ((document.checkout_payment) ? document.checkout_payment.payment : document.checkout_shipping.shipping); // if (FormRadioButtons[0]) { // FormRadioButtons[buttonSelect].checked=true; // } else { // FormRadioButtons.checked=true; // } and rollover efect is still here, but without runtime error ! Cheers |
|
|||
|
Zitat:
in the file header.php (not include/header.php) I have disabled this: // var FormRadioButtons = (document.checkout_address) ? document.checkout_address.address : ((document.checkout_payment) ? document.checkout_payment.payment : document.checkout_shipping.shipping); // if (FormRadioButtons[0]) { // FormRadioButtons[buttonSelect].checked=true; // } else { // FormRadioButtons.checked=true; // } and rollover efect is still here, but without runtime error ! Cheers [/b][/quote] Sorry, :stupid: right file is includes/header.php Cheers |
![]() |
| Lesezeichen |
| Stichworte |
| error, runtime |
| Themen-Optionen | |
| Ansicht | |
|
|