Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function() {
- $('#plan').change(function() {
- newPrice = $('#plan option:selected').val();
- $('#planPrice').text('$' + newPrice);
- $('input[name=amount]').val(newPrice);
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement