Anonymous Anonymous - 6 months ago
226 0

No description

ActionScript

Friendschat

function sendText(chatboxId)
{
    $.ajax
    ({
        method: "POST",
        url: "/ChatApp/FriendChatController",
        dataType: 'json',
        data: { action: "message", chatbox: chatboxId, text: $( "#chatTextBox" ).val()}
    })
    .done(function()
    {
        alert("WAYOO");
        $( "#chatTextBox" ).val("");
        
    });
}