Contents | Index | Previous | Next


TAgentJS.sendJS() Method

send a message

Synopsis

Tango_agent.sendJS(message);

Arguments

message String object. A string encoded message to be passed to the other session participants.

Returns

Nothing.

Description

Sends string messages. Makes little sense unless application registered TDataListenerJS interface.

Example

<script>

function Tango_send(message)

{

if(Tango_agent!=null)

Tango_agent.selectiveSendJS(message);

}

</script>

<form onsubmit="Tango_send(messageText.value)">

<input type="text" name="messageText">

</form>

See Also

TAgentJS.selectiveSendJS() method, TDataListenerJS interface