I'm writing a basic calculator in JavaScript, and when I hit "=" on the html form it is returning the entire calculator.js, not the result. I'm not sure why th
I have searched for some time; but only find Polymer answers; or answers where EventListeners are put on DOM elements inside the shadowRoot. The effect I am try
I want that when the "Yes" radio button of a form (form1) is checked, a new form (form2) appears, with two radio buttons and their text "Yes" and "No". With an
I am very new to JavaScript and would like to know how to go about the following. I have a form that I am using for entry to a fishing contest. It contains fiel
I have the following problem, I made a form using HTML with some input fields. I also made the submit button disabled using the following JS code: if(document
I am experiencing difficulties with IE (8, 11) double submit which is triggered by JavaScript code: this.disabled=true; form.submit(); return false; Sentence
When I started doing web development, I realized Javascript event names were all in lower case with no separators, i.e. "mousedown", "mouseup", etc. And when wo
I'm trying to view the value selected in a radio button. The form is: <form onsubmit="return false;"> <fieldset> <h3>Textos</h3> <la
I thought a change event would propagate from the input element to the form element in general? On Chrome, it works: http://jsfiddle.net/gjatW/13/ But on IE 8
I have a simple sidebar, that has a bunch of list items in it, and a button right next to the list item, like so: I attached a click handler to the <li>
I've been pulling my hair out trying to add a FILE input object to a form on one of my intranet web pages. I saw this article (HTML <input type='file'> F
In my HTML I've got a form without an onsubmit event listener: <form action="contact.php" method="post" id="contact"> ... <input type="submit"
I have a basic customer information form that I would like to make a little more interactive. The idea being if the user selects a country that is not USA or C
Just like the question asks, is there a way to stop a form after it has been submitted? This is not a 'how do I validate' question. I cannot call a function and
From what I understand, the remove() function is not supported in IE. I have a JS function that creates a div and appends it to an existing list.The div contai
I got some enclosing form and two nested forms. the two nested forms are evaluated with ajax on buttonclick and the external form has a submit-button. Simplifie
I'm trying to get the document title to blink whenever there's an incoming message. I was able to get the title to blink properly, however the problem I'm runni
event.pageY gets you the mouse position relative to the entire document height(document.documentElement.offsetHeight I assume). But how do I get the mouse posi
I have some debugger statements in my module under test and want to run mocha with --debug-brk set and hit my breakpoint so that I can inspect the state of my m
This has me perplexed. I have a textbox. You type something in, and press enter. JavaScript creates a read-only input element in separate form. Alongside the te