How to connect HTML and JavaScript (toolbox)

I’ve created a transparent small month selector using HTML elements. Now, I want to store the selected value in a database using JavaScript (toolbox). I’m struggling to figure out how to access the value selected in my month selector using JavaScript (toolbox). How can I utilize the value selected in my month selector in JavaScript (toolbox)?

(I didn’t use the date picker provided by bubble.io because its design is too poor!)

Here is the code for the transparent small month selector I’ve created using HTML elements.

캡처

You’re going to have to write your code block for a listener like you would in traditional webpage building.

Only difference is that you’ll have to send the value to a JavaToBubble Element instead.

Read the Toolbox documentation for more details.

What could possibly be wrong? It just won’t execute correctly.

1111
2222

Pass the date to the J2B function in the listener’s code block instead.