JavaScript at dyn-web.com
JavaScript and Forms
- How to get the value of the selected radio button in a group.
- How to get the value of a radio button onclick.
- How to make sure a checkbox is checked before submitting a form.
- How to handle checkboxes onclick.
- How to get the value of or a reference to the selected option in a select box.
- How to get the selected options in a select box that allows multiple selections.
- How to connect select lists so that a selection in one changes options in the other.
- How to handle radio buttons and checkboxes onclick: a pizza order form demonstrates.
- See much more on JavaScript and Forms.
JavaScript and Iframes
- How to set the height of an iframe to show all of its content.
- How to load new documents in iframes.
- How to communicate between documents when using iframes.
- See much more on JavaScript and Iframes.
Common Tasks in Client-Side JavaScript
- How to get references to elements in JavaScript. Demonstrates a variety of methods.
- How to get references to forms and form elements with both modern and traditional approaches.
- How to get browser window dimensions using JavaScript.
- How to determine the distance that the page has been scrolled vertically and horizontally.
- How to determine the position of an element in the document using JavaScript.
- How to determine the position of a click (or tap on touch screen) or other mouse event.
More JavaScript Tutorials
- JavaScript Arrays: add and remove elements, search, iterate, and more
- JavaScript Strings: search, replace, convert to arrays, and more
- Data Type and Type Conversion in JavaScript
- Ajax and XMLHttpRequest: Ajax without jQuery
- Iframes and postMessage: safe cross-domain communication
- See more JavaScript Tutorials
Full-Featured JavaScripts
- Scroll Divs vertically or horizontally. Optional scrollbar. Support for touch, ajax, and more.
- Scroll automatically onload, vertically or horizontally, continuously or pausing.
- Tooltips onmouseover or onclick. Supports images, images with text, ajax, touch devices, and more.
- Rotate Images: swap images on a timer. Support for linked images, random rotation, and more.
- See more on Full-Featured JavaScripts.