<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>单选按钮</title>
<style type="text/css">
#all div {
display: none;
}
</style>
<script type="text/javaScript">
function show(obj){ var oDiv = document.getElementById("result"+obj.value); var aDiv = document.getElementById("all").getElementsByTagName("div"); for(var i=0; i
<aDiv.length; i++){ aDiv[i].style.display="none" ; } oDiv.style.display="block" ; } </script>
</head>
1
wsds 2018-04-14 12:52:06 +08:00
```jsformat``` 你值得拥有
|
2
zzx9702 2018-04-14 12:54:07 +08:00 via Android
用 idea 把
|
3
429463267 OP 找遍了 google 和百度 无解
|
6
rabbbit 2018-04-14 14:18:51 +08:00
|
7
rabbbit 2018-04-14 14:27:51 +08:00
同楼上建议换 idea,开箱即用,不用折腾
sublime 要装大量插件的,你看看我装了多少个 https://aaron-bird.github.io/t/sublime-plugin/#javascript |