来个小例子(ajax)

/*注册用户名检查小例子*/

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
    .box{
        margin:100px auto;
        text-align:center;}
</style>
</head>

<body>
    <div class="box">
        姓名:<input type="text" );
                }    
            }    
        }    
    }
    request.send(null);
}
        
</script>
 </body>
</html>