我想我需要删除0-31和127的字符,
是否有一个函数或一段代码来有效地执行此操作.
这个示例代码有什么问题?O_O
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
console.log("Testing");
$('#test').append("Test");?
});
</script>
<title>Sin título 4</title>
</head>
<body>
<div id="test">Hello world.</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)