JS toolkit how to put value from js into a database

I use javascript toolkit to get a value that I need to plug into the database. How can I do so? I tried changing the value of an input, but it would not update for bubble.

The JavaScript to Bubble Element is your connection between the two worlds. Search for @keith JavaScript (I think) for a very simple video about this.

Ah, here it is: