This JavaScript code example uses a for loop to calculate the sum of JavaScript checkbox values. This JavaScript will display a running total automatically when visitors click to select an item without reloading the current page. Very easy to edit and implement into your existing web forms.
Countdown timer for an event seems to be an indispensable thing in the modern life of human, we can see them in the holidays of Christmas, new year, birthday, etc. Or easily, we can see them daily in alarm clocks - the simplest countdown timers in our life.
The subject of countdown timers are also discussed much by JavaScript countdown timer scripts, JavaScript article tutorial such as:
- jQuery JavaScript Countdown Timer with Bar Display
- More 10 Awesome Countdown Timers to Christmas 2010
- JavaScript Countdown Timer solution in OOP
- Super Neat JavaScript Countdown Timer
Today, I would like to show you another JavaScript article tutorial for building a simple countdown timer in Flash environment with ActionScript. Please go to the full post page for detailed instructions.
If your web pages have a huge list of options to show in the drop down menus (listed into categories), why don't you consider to use this JavaScript dropdown code example? This JavaScript dropdown menu generates multiple choices of drop down list in your web forms. Users click a link of category to change the content of drop down list dynamically. Add as many JavaScript dropdown value and categories as you want. Full detailed documentation of script explained in the script comments.
Compress (minify JS) is one of most important missions if you need to optimize your web performance. And using JavaScript compressors is the easiest way to do this task, I recently present some popular minify JS compressors in Performances of JavaScript Compressors.
However, this solution has a big advantage you should know: we have to compile our JavaScript source codes/files before uploading them to live server if we change the source code. In order to overcome this shortcoming, we can use an alternation: compressing JavaScript source codes/files automatically on our server then give back the results as requested.
That's subject of this JavaScript article tutorial: guides you how to compress JavaScript source codes/files on Apache.
This is really a cool JavaScript code example to display an amazing JavaScript countdown timer on your web pages. With the support of the powerful JavaScript framework - jQuery - you can set the point to count down in this JavaScript, then it will show a dynamic countdown timer with red bar. An unique JavaScript countdown timer to use.
Check more JavaScript countdown timers on jsB@nk by yourself:
- JavaScript Timer Countdown
- JavaScript Countdown Timer 2
- Make a JavaScript Countdown Timer in OOP
- How to create a simple JavaScript countdown timer
Organize the source codes of JavaScript applications and web applications with minifying JS solution (shorthand) is one of most important methods to optimize the web performance. This JavaScript article tutorial guides you some basic JavaScript tips and tricks to shorten your JavaScript source with shorthand codes. Some objects discussed during this JavaScript tutorial: JavaScript variable increment/decrement/multiply/divide, ternary operator (conditional), associative array notation, default assignments.
Try more JavaScript article tutorials for source code optimization if you still need:
- Efficient and Helpful JavaScript/jQuery Tips and Tricks
- Some Basic JavaScript Guidelines for Accessibility
During coding JavaScript applications, we usually have to work with many JavaScript arrays; and sometimes declare/initiate them is the time-consuming tasks.
For this reason, I would like to present you this JavaScript code example. We can use this script to generate many arrays as you need with a lot of options: JavaScript array length, JavaScript string array, names, style to display, etct; that will help speed up your jobs. Easy to use and implement!
Perhaps I did not to talk more, everyone knew HTML5 and Flash - these two web technologies are developed and improved to attract more attentions from web developers.
Today in this canvas tutorial JavaScript post, I'm pleasure to present you a match of HTML5 and Flash in simple JavaScript drawing round: creating a warning icon by code lines. The arms of both two races: HTML5 using canvas element with support from JavaScript, Flash with Action Script 3.
Although the author did not show which technology won, but personally according to final images, jsB@nk think it's HTML5 because the color of picture made by HTML5 is more real than Flash; however, this is just a very simple HTML5 canvas test and these web technologies are still improved. Please go to the full post page for detailed results.
This JavaScript code example will dynamically add/remove HTML elements with content included within them according to the DOM2 specification. A very easy JavaScript code to learn and use DOM.
Try more JavaScript codes on jsB@nk to handle DOM better:
- JavaScript OOP with Input Display Toggle
- JavaScript Content Auto-Indexing using DOM
- JavaScript Add More Unlimited Input Fields
On the web pages with a lot of text content such as technical documents, novels, text stories, reportages, etc; usually we have to create the bookrmarks (anchor links) manuallly. Now these time-consuming jobs like that will be not available if the web pages use this JavaScript code example; this JavaScript code makes it easy for people to jump to the section they want to read by making a table of contents using the h1
to h6
tags automatically. Now it's time to create content only for content publishers!