待续:
字符大小写转换
<html>
<head>
<script type="text/javascript">
function change(str) {
document.getElementById("id1").value=str.toUpperCase();
}
</script>
</head>
<body οnkeyup="whichButton(event)">
<input type="text" name="id1" οnblur="change(this.value)">
</html>
获取控件属性值
<input type="text" name="jiajia" οnclick="alert(this.name);">