# Is it possible to pass a client side Javascript variable to a bubble element?

**URL:** <https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189>\
**Category:** Need help\
**Created:** [December 22, 2018, 6:00am UTC](https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189 "2018-12-22T06:00:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrMaker](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@MrMaker](https://forum.bubble.io/u/MrMaker)\
**Post date:** [December 22, 2018, 6:00am UTC](https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189/1 "2018-12-22T06:00:47Z")

</div>

Is it possible to pass a client side Javascript variable to a bubble element , lets say text box ? which plugin I could use?  
I want the dynamic value of a text box to be a JavaScript variable from the client side  
Is it possible to pass a client side Javascript variable to a bubble element?

---

<div class="post-metadata">

**Author:** ![gaurav](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gaurav/32/6666_2.png) [@gaurav](https://forum.bubble.io/u/gaurav)\
**Post date:** [December 22, 2018, 7:17am UTC](https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189/2 "2018-12-22T07:17:50Z")

</div>

Yes, pretty easily using the Env Variable plugin.

> [@\[New Plugin\] 'Env' Environment Variables](http://forum.bubble.io/t/new-plugin-env-environment-variables/41650):
>
> Hello Bubblers, Announcing a new extremely powerful plugin: [Env Environment Variables](https://www.notion.so/Bubble-Developer-Kit-3eb057d9d81d4176b1be678856c80faf#be6bbde5ee444a13ade861561338a594) Truly merges Javascript code with bubble Makes working with reusables a breeze Enables you to dramatically reduce workflows / conditionals by over 50% in tricky situations while also speeding up your app Added this to the [Bubble Developer Kit](https://www.notion.so/Bubble-Developer-Kit-3eb057d9d81d4176b1be678856c80faf#be6bbde5ee444a13ade861561338a594) smiley[Env Variables](https://bubble.io/plugin/'env'-environment-variables-_1540857498064x563539974936330200): This plugin allows you to create & use variables in bubble. You can Create any number of Env variables from any spot in the app Read any va…

---

<div class="post-metadata">

**Author:** ![nisha.kale1122](https://avatars.discourse-cdn.com/v4/letter/n/e19b73/32.png) [@nisha.kale1122](https://forum.bubble.io/u/nisha.kale1122)\
**Post date:** [January 28, 2019, 7:15am UTC](https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189/3 "2019-01-28T07:15:37Z")

</div>

Thanks for this helpful answer. Excellent sharing and keep it up.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 2, 2019, 6:00am UTC](https://forum.bubble.io/t/is-it-possible-to-pass-a-client-side-javascript-variable-to-a-bubble-element/45189/4 "2019-03-02T06:00:58Z")

</div>

Closed on March 2, 2019, 6:00am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
