function aa(strA)
{
document.writeln("<td>"+"<a href=" + strA + "></a>" +"</td>");}
aa("http://www.microsoft.com")
{
document.writeln("<td>"+"<a href=" + strA + "></a>" +"</td>");}
aa("http://www.microsoft.com")
function WriteIt()
{
var strA="ABC";
strA=strA.link("http://www.csdn.net/");
document.writeln("<td>"+strA+"</td>");
}
</script>
<BUTTON onclick="WriteIt();">Write</BUTTON>
有些地方还是没弄明白,我要在链接中点击,传递调用的函数形式如下Query(27,"result=strA值")该怎样写才对呢?