SELECT DISTINCT (user_id)
FROM [user]
WHERE user.user_id In (select user_id from user where ancestry = 'England')
And user.user_id In (select user_id from user where ancestry = 'France')
And user.user_id In (select user_id from user where ancestry = 'Germany');`
const orgInput = document.getElementById('organisation'),
a = document.getElementById('a');
function setA(){
a.innerText = orgInput.value;
a.href = orgInput.value;
}
<input type="text" id="organisation">
<input type="button" onclick="setA()" value="create"/>
<a id="a"></a>
Я мог бы решить таким образом и работает:
orglink = "<a href='" + webSite + "' target='_blank'>" + newOrg + "</a>";
Большое спасибо за вашу помощь, ребята. [115 ]
Вы можете использовать что-то вроде этого:
let a = document.createElement('a');
let anchorText = document.createTextNode("Organization name");
a.appendChild(anchorText);
a.title = "Open organization webpage";
a.href = "http://example.com";
document.body.appendChild(a);