<!DOCTYPE html> <html> <body> <img id = "myid" src = "/images/html.gif" alt = "HTML Map" usemap = "#html"/> <map name = "html"> <area id = "myarea" shape = "circle" coords = "154,150,59" href = "about.htm" alt = "Team" > </map> <script> var x = document.getElementById("myid").useMap; document.write("<br>Usemap: "+x); </script> </body> </html>
以上就是如何使用JavaScript获取图像的usemap属性的值?的详细内容,更多请关注php中文网其它相关文章!
已抢187105个
抢已抢67504个
抢已抢353782个
抢已抢668475个
抢已抢123892个
抢已抢26094个
抢