- Posts: 28
- Thank you received: 0
$('radio_paypal_1').addEvent is not a function
14 years 11 months ago #26603
by jerome-b
$('radio_paypal_1').addEvent is not a function was created by jerome-b
Hi,
I use DJslider on hikashop (like on the demo site) but on the checkout page, the firefox console warns me :
and the slide is blocked on the ajax loader image...
Any explanation ?
Jérôme
I use DJslider on hikashop (like on the demo site) but on the checkout page, the firefox console warns me :
Code:
$('radio_paypal_1').addEvent is not a function
Any explanation ?
Jérôme
Please Log in or Create an account to join the conversation.
14 years 11 months ago #26610
by nicolas
Replied by nicolas on topic Re: $('radio_paypal_1').addEvent is not a function
Could you try to change the line:
$js.="$('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
to:
$js.="document.id('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
in the file components/com_hikashop/views/checkout/view.html.php and try again ?
$js.="$('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
to:
$js.="document.id('radio_".$method->payment_type.'_'.$method->payment_id."').addEvent('click', function(e){
in the file components/com_hikashop/views/checkout/view.html.php and try again ?
Please Log in or Create an account to join the conversation.
14 years 11 months ago - 14 years 11 months ago #26611
by jerome-b
Replied by jerome-b on topic Re: $('radio_paypal_1').addEvent is not a function
You got it !
Thanks
P.S. Will this be fixed in the next update or should I make a backup file?
Thanks
P.S. Will this be fixed in the next update or should I make a backup file?
Last edit: 14 years 11 months ago by jerome-b.
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds