diff --git a/example/public/index.html b/example/public/index.html
index 8050bb0..e116bec 100644
--- a/example/public/index.html
+++ b/example/public/index.html
@@ -46,8 +46,8 @@
$('#login').submit(function (e) {
e.preventDefault();
- var username = $('username').val();
- var password = $('password').val();
+ var username = $('#username').val();
+ var password = $('#password').val();
$.ajax({
type: 'POST',
data: {
@@ -62,4 +62,4 @@
});