Skip to content
A nice plugin to use a chat application on your website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
chat.js

README.md

#Chat jQuery Plugin A nice plugin to use a chat application on your website

##How To Use All you need to do is to embed this code between your javascript tags.

$.chat({
	
});

##Available Options you can pass your options as json object to the $.chat() plugin. example:

$.chat({
	'available_option': 'my_option',
});

####The URL to the script where you handle the backend get proccess to get the messages from the database like so:

getURL: 'getMessages.php',

####The URL to the script where you handle the backend post proccess to post the message to the database like so:

postURL: 'postMessages.php',

####The background color you wish for your chat like so:

background: '#47b403',

####The welcome message you wish to display as soon as the user clicks on start like so:

welcome: 'customer team will contact you as soon as possible.',

####The generated token you wish your chat to use for security purposes like so:

_token: $('[name="csrf_token"]').attr('content'),
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.