Html macro |
---|
<form> <input id="thmas-input-text" type="textnetfang"> <input id="thmas-button" type="button" value="GoFara toí linkstillingar"> </form> <script type="text/javascript"> const thmasButton = document.querySelector('#thmas-button'); const thmasInputText = document.querySelector('#thmas-input-text'); thmasButton.addEventListener('click', clickButton); function clickButton() { var URL = "https://wwwreiknistofnun-my.googlesharepoint.com/personal/search?q=" + thmasInputText.value+"_unak_is/_layouts/15/people.aspx?MembershipGroupId=0&FilterField1=ContentType&FilterValue1=Person"; var win = window.open(URL, "_blank"); } </script> |
...