2010-03-31 66 views

回答

0

我只得到这与的onclick事件的工作:

<text value="http://getsatisfaction.com/" 
     class="url" 
     onclick="window.open('http://getsatisfaction.com/');"/> 

,当然,这些可能应该通过JS来代替硬编码应用。

hrm。 Mozilla docs给出一个替代例子:

<label href="http://`enter code here`example.com" 
     class="text-link" 
     value="Click here to go to example.com"/>