I'm new to IOS Js, i want to add two button to the below iFrame. Then get the click of those buttons. Any help will be appreciated.
var iframe = document.createElement("IFRAME");
iframe.setAttribute("src", 'data:text/plain,');
document.documentElement.appendChild(iframe);
window.frames[0].window.alert('Please select the area multiplier');
iframe.parentNode.removeChild(iframe);
If there is any other way to make an iFrame or if i can add a drop down in the iFrame and get the selected item of the drop down. Please let me know