Fix for jQuery script not working on mobile phones.
Budget: $10 – $30 USD
The budget for this project is $10.
The problem is that this code works fine on laptop and desktop, but it does not work on mobile.
Here is the code:
<script>
var jq = jQuery.noConflict();
jq(window).on("load", function() {
jq("input[id*='payment_method_stripe']").click(function() {
jq("#place_order").attr("style", "display: block");
});
});
</script>
The problem is that this code works fine on laptop and desktop, but it does not work on mobile.
Here is the code:
<script>
var jq = jQuery.noConflict();
jq(window).on("load", function() {
jq("input[id*='payment_method_stripe']").click(function() {
jq("#place_order").attr("style", "display: block");
});
});
</script>