Max (or maybe some else) says:

[nothing yet]

Type and send to Max:

(using channel: "jmPubNub1", subscribekey: "demo", publishkey: "demo")

JavaScript Code To Publish

PUBNUB.publish({
	channel : 'jmPubNub1',
	message : {"theWebSiteSays" : $("#thisWillGoToMax").val()},
	callback : function(message) {
		$("#thisWillGoToMax").val('');
	}
});

JavaScript Code To Subscribe

PUBNUB.subscribe({
	channel  : "jmPubNub1",      // CONNECT TO THIS CHANNEL.
	error    : function() {        // LOST CONNECTION (auto reconnects)
		alert("Connection Lost. Will auto-reconnect when Online.")
	},
	callback : function(fromMax) { // RECEIVED A MESSAGE.
		if(fromMax.value != undefined) {
			$("#jmPubNubDisplay").text(fromMax.value);
		}
	}
})