2014-07-22 56 views

回答

1

使用setAttribute

someDiv.setAttribute("contextMenu", "menu_id");