How to copy the value using javascript

Hello guys

I am using wev_veiwer and I want to copy the value using javascript if someone can help, please

for example:

<input type="text" id="myInput" class="form-control" value="0111243403868985204000056304A4D6" aria-describedby="button-addon2">

how i can copy this value 0111243403868985204000056304A4D6 into textbox or label

Thanks a lot

1 Like

Hi, try maybe changing the WebView String to the textbox text when you:

  1. Change the WebView String when the text in the text box is edited
  2. Click a button
  3. (required) Set it on start of the code

The object for the WebView String is window.AppInventor.
Hope this helped! :slightly_smiling_face:

The developer for LiVEWATCH, Jamestheblip

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.