2
我正在使用kendo ui的web軟件包中的kendo ui菜單窗口小部件。超鏈接中存在問題,k按鈕不能與超鏈接一起使用。添加超鏈接到kendo ui k-button?
<button class="k-button">
<a href="http://localhost:5724/map.html">
<font color = 'black'>See All Centers
</a></font>
</button>
該按鈕甚至沒有響應一個錯誤:它的行爲就好像沒有超鏈接附加按鈕。
你確定map.html的路徑是正確的嗎? –
亞該死肯定...路徑是完全正確的!!1111 – roanjain
這不會工作,因爲按鈕不知道該怎麼辦;你在'button'裏面包裝一個'a'標籤。請參閱下面的答案。 –