Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
var url = "https://net-raft.com/Questions/2615/delete-a-specific-row-in-a-html-table-using-javascript/2615";
var arr = url.split("/");
var result = arr[0] + "//" + arr[2];
var text = "";
function GenUniqueLink(length) {
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < length; i++) {
text += possible.charAt(Math.floor(Math.random() * possible.length));
}
return "<a href='" + url + "' id='anchor' onmouseover='display();' onmouseout='display1();' onclick='display2();'>" + result + "/" + text + "</a>";
}
function display() {
var link = document.getElementById("anchor");
var link1 = result + "/" + text;
link.href = link1;
return false;
}
function display1() {
var link = document.getElementById("anchor");
var link1 = url;
link.href = link1;
return false;
}
function display2() {
var link = document.getElementById("anchor");
var link1 = url;
link.href = link1;
return false;
}
document.write(GenUniqueLink(16));
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507