Software /
code /
prosody-modules
File
mod_jsxc/templates/template.js @ 6062:fb2ba31a4e26
mod_report_affiliations: Remove irrelevant note from README
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 25 Nov 2024 12:39:41 +0000 (4 months ago) |
parent | 4825:4bdfd83e091f |
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); });