Created
September 16, 2022 03:59
-
-
Save aimahdi/58996fe65797c52ac350373d963ca33c to your computer and use it in GitHub Desktop.
Recurring subscription.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let calculatedValue = document.getElementById('ff_495_numeric-field_2'); | |
let subscriptionValue = document.getElementById('payment_input_1_custom_0'); | |
subscriptionValue.disabled = true; | |
calculatedValue.onchange = function(){ | |
subscriptionValue.value = calculatedValue.value; | |
jQuery('#payment_input_1_custom_0').trigger('change'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment