Challenge 3: First setup completed
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
$(document).ready(function () {
|
||||
$("#postComment").on("blur", function () {
|
||||
var comment = $("#commentInput").val();
|
||||
$.post("challenge3", function (result, status) {
|
||||
var json;
|
||||
json = '{' +
|
||||
' "comment":' + '"' + comment + '"'
|
||||
'}';
|
||||
})
|
||||
})
|
||||
|
||||
$.get("challenge3", function (result, status) {
|
||||
alert("Hello");
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user