好用的工具方法
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
button {
background-color: #9a6d61
}
div {
border: solid 1px #5cb85c;
}
</style>
</head>
<body>
<div style="position: absolute;top: 30%;left: 30%;height: 300px;width: 500px">
<button onclick="cherry()" style="width: 50px;position:relative;left:50%">赋值</button>
<textarea id="word"
style="width: 99%;line-height: 50px;vertical-align: center;font-size: 25px;text-align: center">
WATCH_TV_AT_CHINA
</textarea><br/>
<button onclick="sugar()" style="width: 150px;position:relative;left:25%">下划线转换驼峰</button>
<button onclick="banana