nodejs show available commands code example
Example: how to send a command in js
<form action="">
<select name="channel">
<option value="#channel1">channel1</option>
<option value="#channel2">channel2</option>
</select>
</form>
<form action="">
<select name="channel">
<option value="#channel1">channel1</option>
<option value="#channel2">channel2</option>
</select>
</form>