提交 24422f4f 编写于 作者: 骆昊的技术专栏's avatar 骆昊的技术专栏

'teacher.html'

上级 4a458a59
......@@ -58,8 +58,8 @@
$(function() {
$('.basic .button').on('click', function(evt) {
evt.preventDefault();
var a = $(evt.target)
var url = a.attr('href')
var a = $(evt.target);
var url = a.attr('href');
$.getJSON(url, function(json) {
if (json.code == 200) {
a.text(json.result);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册