added chatSend() function
This commit is contained in:
parent
5ddaf940ed
commit
10f93c02c1
2 changed files with 27 additions and 0 deletions
|
|
@ -212,6 +212,12 @@ DynMap.prototype = {
|
|||
type: 'text',
|
||||
value: 'not working yet'
|
||||
})
|
||||
.keydown(function(event) {
|
||||
if (event.keyCode == '13') {
|
||||
event.preventDefault();
|
||||
alert(this.value);
|
||||
}
|
||||
})
|
||||
.appendTo(chat);
|
||||
var chatcursor = me.chatcursor = $('<span/>')
|
||||
.attr({ id: 'chatcursor'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue