RobBroekhuis
Technical User
I'm unclear on the syntax for defining a function with optional parameters. One reference I found digging through the web suggested this should work:
function ref(url,linkname,extra='')
{
window.document.write('<a href= target="resource">'
+linkname+'</a>'+extra);
}
but IE throws an error. How should I rewrite this?
Rob
function ref(url,linkname,extra='')
{
window.document.write('<a href= target="resource">'
+linkname+'</a>'+extra);
}
but IE throws an error. How should I rewrite this?
Rob