xxx

Posted zhangwensi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xxx相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>测试</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
<div class="row">
<div>
<label class="form-inline">参加单位:<input type="text" class="form-control" id="inputValue" placeholder="请输入"/></label>
<button class="btn btn-primary" onclick="displayDiv()">submit</button>
</div>

</div>

<div class="bs-example" data-example-id="bordered-table">
<table class="table table-bordered">
<thead style="background: yellow;" class="hide " id="hideTab">
<tr>
<th>班级</th>
<th>姓名</th>
<th>英语</th>
<th style="width: 50px;">数学</th>
</tr>
</thead>
</table>
</div>


<div class="bs-example" data-example-id="bordered-table">
<table class="table table-bordered">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th style="width: 50px;">Username</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td style="border: 0px solid transparent;"><button class="btn btn-primary" style="width: 50px;">修改</button></td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td style="border: 0px solid transparent;"><button class="btn btn-primary" style="width: 50px;">修改</button></td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td style="border: 0px solid transparent;"><button class="btn btn-primary" style="width: 50px;">修改</button></td>
</tr>
</tbody>
</table>
</div>

</div>

<script type="text/javascript">
function displayDiv() {
var inputVal = document.getElementById("inputValue").value
console.log( inputVal)

if(inputVal=="1"){
var hideTab = document.getElementById("hideTab");
hideTab.className = "changedClassName"
console.log( hideTab.innerHTML)
}else{
var hideTab = document.getElementById("hideTab");
hideTab.className = "hide"
}

}
</script>

 

</body>
</html>










































































以上是关于xxx的主要内容,如果未能解决你的问题,请参考以下文章

1130 - Host'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server解决Navicat连接MySQL报

主机 'xxx.xx.xxx.xxx' 不允许连接到这个 MySQL 服务器

dial tcp: lookup xxx.xxx.xxx.xxx: no such host

Mac - git svn 错误 - 无法为模块 SVN::_Core: dlo 加载“/usr/X/X/subversion/lib/perl5/XXX/XXX/XXX/XXX/SVN/XXX/_C

Duplicate entry 'xxx' for key 'xxx'

VUE引入模块之import xxx from 'xxx' 和 import {xxx} from 'xxx'的区别