# Reference html element value (value is Java script result from external site)

**URL:** <https://forum.bubble.io/t/reference-html-element-value-value-is-java-script-result-from-external-site/226296>\
**Category:** Database\
**Created:** [September 29, 2022, 1:45pm UTC](https://forum.bubble.io/t/reference-html-element-value-value-is-java-script-result-from-external-site/226296 "2022-09-29T13:45:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oluwagbamisamuel100](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/oluwagbamisamuel100/32/145836_2.png) [@oluwagbamisamuel100](https://forum.bubble.io/u/oluwagbamisamuel100)\
**Post date:** [September 29, 2022, 1:45pm UTC](https://forum.bubble.io/t/reference-html-element-value-value-is-java-script-result-from-external-site/226296/1 "2022-09-29T13:45:56Z")

</div>

Hello everyone,  
I am currently working with a open banking widget that requires me to run custom html/javascript code to create the widget. The widget runs fine and allows users to securely sync their bank. After this, it returns a temporary code, of which I would now use in the API to get access to the customer bank data.

Now, I can only manually copy the returned code in frontend before I can use it with the API.  
I am looking for a way to extract the value of this result (that is, the temporary code) in someplace in bubble (maybe as a thing in database). This will make it easy for to automatically retrive the temporary code when I need it in the API.

Please help.

My question again in simple terms: How can I send the result of a javascript request (done inside html element) to my bubble data base for easy access?
