vendredi 27 juin 2014

How can i trigger connect event with jquery


Vote count:

0




$(document).ready(function () { $('#login_dialog').dialog({ autoOpen: true, draggable: false, modal: true, title: 'Connect to XMPP', buttons: { "Connect": function () { $(document).trigger('connect', { jid: $('#jid').val(), password: $('#password').val() });



$('#password').val('');
$(this).dialog('close');
}
}
});


});


How to trigger connect event? Even the button is clicked, I am not seeing anything.



asked 28 secs ago






Aucun commentaire:

Enregistrer un commentaire