} else if (status == Strophe.Status.CONNECTED) {
log('Strophe is connected.');
queryJID = connection.domain;
+ $('#queryJID').val(queryJID);
$('#query').show();
checkFeatures();
}
item.val($(this).find("value").text());
}
}
+ if ($(x).attr("type") == "result")
+ item.attr("readonly", true);
if ($(this).attr("var")) {
item.attr("name", $(this).attr("var"));
item.attr("id", $(this).attr("var"));