mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Import from DCARF SVN
This commit is contained in:
13
js/link.js
Normal file
13
js/link.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function link(obj,url)
|
||||
{
|
||||
var a = document.getElementById(obj)
|
||||
if (a)
|
||||
{
|
||||
var clone = a.cloneNode(true);
|
||||
var pnode = a.parentNode;
|
||||
clone.data = url;
|
||||
pnode.removeChild(a);
|
||||
pnode.appendChild(clone);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user