Android Question How to use javascript to click a especific button in html page

miguelcleman

Member
Licensed User
Longtime User
Hi,

How to use javascript to click the button named "send" in html page example (the html page have many submit buttons)

The code bellow is not working :

javascript=""
javascript=javascript&"document.form.focus();"
javascript=javascript&"document.form.submit();"
WebViewExtras1.ExecuteJavascript(javascript)

The htm page example :

<td>
<input type="submit" name="sigappend" value="Test1" />
<input type="submit" name="html_addr_search" value="Test2" />
<input type="submit" name ="draft" value="Test3" />
<input type="submit" name="send" value="Test4" />
</td>

Thanks!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…