Skip to content
Snippets Groups Projects
Commit 6f894c81 authored by ichuang's avatar ichuang
Browse files

use jquery for error msg in course_about

parent 871ed954
No related merge requests found
......@@ -20,7 +20,7 @@
if(json.success) {
location.href="${reverse('dashboard')}";
}else{
document.getElementById('register_message').innerHTML = "<p><font color='red'>" + json.error + "</font></p>";
$('#register_message).html("<p><font color='red'>" + json.error + "</font></p>")
}
});
})(this)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment