Anonymous callback function
This commit is contained in:
parent
351424b673
commit
788803caa1
1 changed files with 2 additions and 2 deletions
|
@ -6,5 +6,5 @@ $ '.send'
|
||||||
contentType: "text/plain",
|
contentType: "text/plain",
|
||||||
type: "POST"
|
type: "POST"
|
||||||
data: $('.chatbox').val()
|
data: $('.chatbox').val()
|
||||||
success: _ -> $('#chat-response').text('Success! :)')
|
success: -> $('#chat-response').text('Success! :)')
|
||||||
error: _ -> $('#chat-response').text('Error !1!')
|
error: -> $('#chat-response').text('Error !1!')
|
||||||
|
|
Loading…
Reference in a new issue