JavaScript Reference/Javascript Methods/link
Версия от 18:30, 25 мая 2010; (обсуждение)
"link()" Example
<html>
<body>
<button onclick="var myS = new String("wbex.ru Home Page");
alert(myS.link("http://www.wbex.ru/"));">
create a link from </button>
</body>
</html>
"link()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |String |
+----------------+--------------------------------------------------------------+
"link()" Syntax, Parameters and Note
Note:
Creates an <a>.
Syntax:
stringName.link(param1)
Parameters:
param1 Required; the URL.