I am displaying the WebPage in my UIWebView. I want to detect a button click on that page.
code for that button in HTML file with Java Script is as follow:
document.getElementById("fileUploadSection").innerHTML = '<button type="button" class="btn btn-primary btn-block findJobsButton" id="txtUploadResume" onclick="validate();ok.performClick();"> </button>';
Problem: How can I detect the button is clicked & my native method is called?
Thanks in advance