My Account | Buy CometChat

documentation

launchModule()

launchModule() function assists you to dynamically launch a module (like Chatrooms, Facebook Fan Page etc.)

The API

The input parameter is the module’s short name i.e. the folder name of the module.

jqcc.cometchat.launchModule('MODULENAME');

Sample Code

A suggested use of this function is to launch the Chatrooms module from your webpage.

<a href="javascript:void(0)" onclick="javascript:jqcc.cometchat.launchModule('chatrooms');">Start Chatting</a>