HI TechGeeks, I am trying to inject value from th...
# javascript
a
HI TechGeeks, I am trying to inject value from the android web view in the EditText field after injection, clicking on a button to download a file from android. The value gets empty and the website says to enter a value. I’m able to inject EditField from android on the whole page.  So the problem is the last editField getting empty while clicking on the download button.  In the background, I can see website is sending an event by clicking on the download button. Once the download button is clicked then one function is triggered and that function reads the value from the event function. If an event is not there then the edit field gets empty and it does not capture the inject value from the edit field.  Anyone can help me with this. I tried set the value in console from browser and hit download button using document.getElementById(‘btn_name’).click(). when ever Download button click the edit value gets empty. While entering the value manually it’s working perfectly. I need to inject value from code and hit the download button from code using javaScript. Please help with this. #javascript
n
This has nothing to do with Kotlin JS. Since it is Android related it would be better to ask about this in #android.