Stripe not working with error 'Uncaught (in promise) Error: We could not retrieve data from the specified Element.' : <p>I am trying to use Stripe.js following <a href="https://stripe.com/docs/stripe-js/elements/quickstart" rel="noreferrer">https://stripe.com/docs/stripe-js/elements/quickstart</a></p>

<p>I made html, css, javascript just same as sample of that url.</p>

<p>But when I click 'Submit Payment' Button, it always shows console error and not working.</p>

<pre><code>(index):1 Uncaught (in promise) Error: We could not retrieve data from the specified Element.
              Please make sure the Element you are attempting to use is still mounted.
    at new t ((index):1)
    at e._handleMessage ((index):1)
    at e._handleMessage ((index):1)
    at (index):1
</code></pre>

<p>Please let me know why this happens.</p>
