Ask a working principle question: function & nbsp; submit_login (e) {& nbsp; if & nbsp; (typeof & nbsp; e & nbsp ;! = & Nbsp; 'undefined' & nbsp; & amp; & ask a principle question
function submit_login(e)
{
if (typeof e != 'undefined' && !enter_key_trap(e)) {
return;
}
if (document.horde_login.horde_user.value == "") {
alert("
");
document.horde_login.horde_user.focus();
return false;
} else if (document.horde_login.horde_pass.value == "") {
alert("
");
document.horde_login.horde_pass.focus();
return false;
} else {
document.horde_login.loginButton.disabled = true;
try {
document.horde_login.ie_version.value = objCCaps.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}", "componentid");
} catch (e) {
}
document.horde_login.submit();
return true;
}
}
Could you tell me how to submit the two user name and password forms to the background php for sharing:
------ Solution --------------------
Html code of the pasted form
Print_r ($ _ REQUEST); check it out.
------ Solution --------------------
Document. horde_login.submit ();
Execute the submit method for the form named horde_login (submit the form)
------ Solution --------------------
If you are talking about not creating iframe, then the code f. height = "100%"; f. width = "100%" is okay.