view mod_jsxc/templates/template.js @ 5918:d4a8644a1cc5

mod_pubsub_serverinfo: fix syntax error
author Guus der Kinderen <guus.der.kinderen@gmail.com>
date Tue, 04 Jun 2024 09:06:44 +0200
parents 4bdfd83e091f
children
line wrap: on
line source

$(function() {
	let jsxc = new JSXC({
		loadConnectionOptions: function(username, password) {
			return Promise.resolve(%s);
		}
	});

	let formElement = $('#jsxc_login_form');
	let usernameElement = $('#jsxc_username');
	let passwordElement = $('#jsxc_password');

	jsxc.watchForm(formElement, usernameElement, passwordElement);
});