Skip to content

Instantly share code, notes, and snippets.

@TimCannady
Last active November 19, 2019 22:16
Show Gist options
  • Save TimCannady/ad1a2a5a54982ef37ee01f13364e3200 to your computer and use it in GitHub Desktop.
Save TimCannady/ad1a2a5a54982ef37ee01f13364e3200 to your computer and use it in GitHub Desktop.
### iframe ###
<iframe src="https://assets.braintreegateway.com/web/3.39.0/html/hosted-fields-frame.min.html#c17ba22e-63c5-49e3-93e0-56129106d7e6" frameborder="0" allowtransparency="true" scrolling="no" type="number" name="braintree-hosted-field-number" title="Secure Credit Card Frame - Credit Card Number" id="braintree-hosted-field-number" style="border: none; width: 100%; height: 100%; float: left;"></iframe>
### target element within the iframe ###
<input type="tel" autocomplete="cc-number" autocorrect="off" autocapitalize="none" spellcheck="false" class="number" data-braintree-name="number" name="credit-card-number" id="credit-card-number" maxlength="22" placeholder="•••• •••• •••• ••••" aria-describedby="field-description-number" aria-invalid="true">
@TimCannady
Copy link
Author

TimCannady commented Nov 19, 2019

html

@TimCannady
Copy link
Author

Screen Shot 2019-11-19 at 2 16 08 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment