Answer the question
In order to leave comments, you need to log in
Bug radio box delivery method?
Good day. There is a website restaurant. veliidev. com
So there, when placing an order, when choosing a delivery method, the form starts to get wildly stupid.
That is, when switching between delivery methods (keys), checked starts randomly switching over all delivery methods and this can only be stopped by reloading the page.
What could be the problem?
log from browser
XHR finished loading: POST "<URL>".
jquery.min.js:8 XHR finished loading: POST "http://karachidarbaristanbul.com/assets/components/minishop2/action.php".
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
add @ default.js?v=cfb41e1ad8:454
(anonymous) @ default.js?v=cfb41e1ad8:383
dispatch @ jquery.min.js:4
elemData.handle @ jquery.min.js:4
trigger @ jquery.min.js:7
(anonymous) @ jquery.min.js:7
each @ jquery.min.js:2
each @ jquery.min.js:2
trigger @ jquery.min.js:7
initialize @ default.js?v=cfb41e1ad8:386
miniShop2.initialize @ default.js?v=cfb41e1ad8:123
(anonymous) @ default.js?v=cfb41e1ad8:686
fire @ jquery.min.js:3
fireWith @ jquery.min.js:3
ready @ jquery.min.js:3
completed @ jquery.min.js:3
jquery.min.js:8 XHR finished loading: POST "http://karachidarbaristanbul.com/assets/components/minishop2/action.php".
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
getcost @ default.js?v=cfb41e1ad8:476
(anonymous) @ default.js?v=cfb41e1ad8:419
callbacks.add.response.success @ default.js?v=cfb41e1ad8:434
runCallback @ default.js?v=cfb41e1ad8:155
(anonymous) @ default.js?v=cfb41e1ad8:211
fire @ jquery.min.js:3
fireWith @ jquery.min.js:3
done @ jquery.min.js:8
(anonymous) @ jquery.min.js:8
load (async)
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
add @ default.js?v=cfb41e1ad8:454
(anonymous) @ default.js?v=cfb41e1ad8:383
dispatch @ jquery.min.js:4
elemData.handle @ jquery.min.js:4
trigger @ jquery.min.js:7
(anonymous) @ jquery.min.js:7
each @ jquery.min.js:2
each @ jquery.min.js:2
trigger @ jquery.min.js:7
initialize @ default.js?v=cfb41e1ad8:386
miniShop2.initialize @ default.js?v=cfb41e1ad8:123
(anonymous) @ default.js?v=cfb41e1ad8:686
fire @ jquery.min.js:3
fireWith @ jquery.min.js:3
ready @ jquery.min.js:3
completed @ jquery.min.js:3
jquery.min.js:8 XHR finished loading: POST "http://karachidarbaristanbul.com/assets/components/minishop2/action.php".
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
getrequired @ default.js?v=cfb41e1ad8:558
(anonymous) @ default.js?v=cfb41e1ad8:417
callbacks.add.response.success @ default.js?v=cfb41e1ad8:434
runCallback @ default.js?v=cfb41e1ad8:155
(anonymous) @ default.js?v=cfb41e1ad8:211
fire @ jquery.min.js:3
fireWith @ jquery.min.js:3
done @ jquery.min.js:8
(anonymous) @ jquery.min.js:8
load (async)
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
add @ default.js?v=cfb41e1ad8:454
(anonymous) @ default.js?v=cfb41e1ad8:383
dispatch @ jquery.min.js:4
elemData.handle @ jquery.min.js:4
trigger @ jquery.min.js:7
(anonymous) @ jquery.min.js:7
each @ jquery.min.js:2
each @ jquery.min.js:2
trigger @ jquery.min.js:7
initialize @ default.js?v=cfb41e1ad8:386
miniShop2.initialize @ default.js?v=cfb41e1ad8:123
(anonymous) @ default.js?v=cfb41e1ad8:686
fire @ jquery.min.js:3
fireWith @ jquery.min.js:3
ready @ jquery.min.js:3
completed @ jquery.min.js:3
jquery.min.js:8 XHR finished loading: POST "http://karachidarbaristanbul.com/assets/components/minishop2/action.php".
send @ jquery.min.js:8
ajax @ jquery.min.js:8
jQuery.<computed> @ jquery.min.js:8
(anonymous) @ default.js?v=cfb41e1ad8:206
miniShop2.send @ default.js?v=cfb41e1ad8:229
add @ default.js?v=cfb41e1ad8:454
(anonymous) @ default.js?v=cfb41e1ad8:383
dispatch @ jquery.min.js:4
elemData.handle @ jquery.min.js:4
trigger @ jquery.min.js:7
(anonymous) @ jquery.min.js:7
each @ jquery.min.js:2
each @ jquery.min.js:2
trigger @ jquery.min.js:7
jQuery.fn.<computed> @ jquery.min.js:7
(anonymous) @ jquery.formstyler.min.js:2
dispatch @ jquery.min.js:4
elemData.handle @ jquery.min.js:4
jquery.min.js:8 XHR finished loading: POST "http://karachidarbaristanbul.com/assets/components/minishop2/action.php".
Answer the question
In order to leave comments, you need to log in
The problem was solved in the following way. Instead of radio, I used checkboxes.
and this script
$('input').on('click', function() {
$(this).prop('disabled', true);
setTimeout(() => $(this).prop('disabled', false), 5000);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question