我有一張如下所示的表td。如果我使用this.xml,則會顯示下面的值。如何從td獲得值
<td xml="%3CGroup%20name%3D%22Menu%22%20width%3D%22100%22%20height%3D%22100%22%3E%3CTest%20width%3D%22100%22%20height%3D%22100%22%20spacer%3D%221%22%20rights%3D%22Male%22%20action%3D%22onClick%22/%3E%20%3CRights%20width%3D%22100%22%20height%3D%22100%22%20spacer%3D%222%22%20rights%3D%22Female%22%20action%3D%22onClick%22/%3E%3C/Group%3E"
onmouseover="rpiPopup.submover=true;top.window.rpiPopup.openSubMenu(event,this,this.xml,'SubMenu','Menu');"
onmouseout="rpiPopup.submover=false;top.window.rpiPopup.hideSubMenu();">
如何獲取xml值?它應該可以在所有瀏覽器中運行。
請幫幫我。謝謝
你錯過了的例子! –