Note that there are some explanatory texts on larger screens.

plurals
  1. POInputs in HTML Form in Firefox do not respond
    primarykey
    data
    text
    <p>I have an HTML form in my site, and for whatever reason I am unable to enter text in the inputs when viewing the site in Firefox (and only Firefox). My form is set up as follows:</p> <pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;form action="/MyAction/" method = "post" id="register"&gt; &lt;div class="registerField"&gt; &lt;label for="signupFirstName" class="registerLabel"&gt;First Name&lt;/label&gt; &lt;input type="text" name="signupFirstName" id="signupFirstName" /&gt; &lt;/div&gt; &lt;div class="registerField"&gt; &lt;label for="signupLastName" class="registerLabel"&gt;Last Name&lt;/label&gt; &lt;input type="text" name="signupLastName" id="signupLastName" /&gt; &lt;/div&gt; &lt;div class="registerField"&gt; &lt;label for="signupPassword" class="registerLabel"&gt;Enter Password&lt;/label&gt; &lt;input type="password" name="signupPassword" id="signupPassword" autocomplete="off" /&gt; &lt;/div&gt; &lt;div class="registerField"&gt; &lt;label for="retypeSignupPassword" class="registerLabel"&gt;Re-enter Password&lt;/label&gt; &lt;input type="password" name="retypeSignupPassword" id="retypeSignupPassword" autocomplete="off" /&gt; &lt;/div&gt; &lt;div&gt; &lt;div id="registerButtons"&gt; &lt;label for="signupButton"&gt; &lt;input type="submit" value = "Create Account" name = "registerButton" id="signupButton"/&gt; &lt;/label&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; </code></pre> <p>I had a callback attached to the keyup event on the form (which did indeed register the event), but that has since been disabled and I still have this problem. Also, when I right-click and select "Inspect Element" on any of the input elements to launch Firebug, everything works. Thanks in advance for any and all advice.</p> <p><strong>EDIT:</strong> Thanks to everyone who's commented so far. Below is the Javascript method off of the controller we use to coordinate the form:</p> <pre><code> if (this.view.hasClass("readyToSubmit")) { return true; } else { var email = viewState.userState.user.EmailAddress; var password = $("#signupPassword").val(); var passwordConfirm = $("#retypeSignupPassword").val(); var firstName = $("#signupFirstName").val(); var lastName = $("#signupLastName").val(); var isOrg = false; if (!isValidEmail(email)) { this.registerStatusController.set("Invalid email"); return false; } if ((password == null) || (password == undefined) || (password.length &lt; 6)) { this.registerStatusController.set("Please enter a total of at least 6 letters, numbers, and symbols for your password"); return false; } if (!(password == passwordConfirm)) { this.registerStatusController.set("Your passwords do not match"); return false; } if (firstName == '' || lastName == '') { this.registerStatusController.set("You must provide a first and last name."); return false; } requestController.post("/Home/MyAction", { username: email, password: password, passwordConfirm: passwordConfirm, firstName: firstName, lastName: lastName, timeOffset: -(new timezoneJS.Date()).getTimezoneOffset(), //Our tzo is negative of server side tzo isOrganization: isOrg }, $.scope(this.callbackRegistered, this), function (XMLHttpRequest, textstatus, errorThrown) { this.registerStatusController.set("A system error has occurred. Please try again later."); }); return false; } this.callbackRegistered = function (data, textStatus) { if (data == 0) { viewState.userState.isProvisional = false; this.registerStatusController.set("New account created"); this.view.addClass("readyToSubmit"); // $("#register").submit(); // Run the post-registration action and then clear it. if (this.postRegisterAction) { this.postRegisterAction(); this.postRegisterAction = null; } this.hide(); } else { $('body').css("cursor", "auto"); if (data == 1) { this.registerStatusController.set("You are already logged in"); } else if (data == 3) { this.registerStatusController.set("Your account is already registered"); } else if (data == 4) { this.registerStatusController.set("Your invitation code is not valid"); } else { this.registerStatusController.set("The system is not available at this time. Please try again later."); } } } </code></pre> <p>No CSS has been defined on these inputs.</p> <p>One other thing: this form is stored in a pop-over div that overlays the entire page. Its CSS is defined below:</p> <pre><code>#registerPopOver { top: 0px; left: 0px; position: fixed; width: 100%; height: 100%; } </code></pre> <p>The form resides in a div within #registerPopOver:</p> <pre><code>#registerPopOverInner { margin: auto; background-color: white; width: 300px; margin-top: 20%; border: 1px #CCC solid; padding: 4px; } </code></pre> <p>Thank you all again for your advice.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload