26 lines
528 B
Plaintext
26 lines
528 B
Plaintext
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>TestUserId</title>
|
|
<script src="~/Scripts/jquery-1.8.2.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="lkk">
|
|
<input type="button" id="TestUser" value="TEST" />
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<script type="text/javascript">
|
|
$("#TestUser").click(function () {
|
|
$.post("/Base/Test/TestUser", function (data) {
|
|
console.log(data.userid);
|
|
}, "json");
|
|
});
|
|
</script>
|