Android Studio - How to use a button to call a script using bootstrap collapse in webview

0

My site has a button using the bootstrap collapse. I uploaded the site in a webview, where I also created a button to simulate the collapse call of the site, but I'm not succeeding. The code for my button on the site is this:

<a href="javascript:void(0)" data-toggle="collapse" data-target="#site-navbar-search" role="button" id="navbar-search-open"><i class="site-menu-icon fa fa-search hidden-sm-down" aria-hidden="true"></i><span class="site-menu-title hidden-md-down">Procurar...</span></a>    

How would the code look like to simulate this direct call of a button in the webview?

    
asked by anonymous 13.12.2018 / 12:33

0 answers