- All these scripts are free, many of them have helpful explanations in their code, useful for those interested to learn JavaScript.

  1. Display image file in Canvas, Check its type and size before Upload
  2. Adding data from HTML Table Rows in Form fields
  3. CKEditor Free Image Browse Plugin
  4. Convert XML to JSON in JavaScript
  5. Multiple Drop-Down Select Lists Creator
  6. Multi-Level Menu Creator
  7. JavaScript Trivia Game
  8. Dynamically Button to Scroll to Top Page
  9. JavaScript Slideshow Content
  10. Move image from an element /tag to another
  11. Texarea with buttons to format text, colors and smiles
  12. Volume and Surface Area Calculator of 3D objects
  13. Area and Perimeter Calculator for 2D shapes
  14. JavaScript Chronometer / Stopwatch
  15. Countdown Timer until specified Date-Time
  16. Countdown Timer with starting time added into a form
  17. Find the Day of the Week
  18. Display multiple groups of images (Mini-Gallery of images)
  19. Get Mouse coordinates inside a Div or an Image
  20. Horizontal-Vertical Menu with Arrow Keys Navigation

If God wants, new JavaScript scripts will be added soon.

Daily Test with Code Example

Which type of <input> creates input fields that should contain a numeric value?
type="text" type="number" type="date"
<input type="number" name="points" min="5" max="80" />
Which CSS property allows to change the transparency of an element?
font-style opacity color
#id {
  filter:alpha(opacity=40);    /* for IE */
Click on the function that formats a number to specified number of characters.
toPrecision() exp() toFixed()
var num = 12.34567;
alert( num.toPrecision(3) );       // 12.3
Which function randomizes the order of the elements into an array?
natsort() shuffle() sort()
$lang = array(10=>"PHP", 20=>"JavaScript", "site"=>"coursesweb.net");
var_export($lang);     // array (0=>"coursesweb.net", 1=>"PHP", 2=>"JavaScript")
JavaScript Scripts

Last accessed pages

  1. Convert XML to JSON in JavaScript (2227)
  2. PHP getElementById and getElementsByTagName (2202)
  3. Display data from PHP Array, or MySQL in HTML table (2138)
  4. Area and Perimeter Calculator for 2D shapes (843)
  5. Multiple Select Dropdown List with JavaScript (1549)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (7788)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (7572)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (7276)
  4. PHP Chat Script (6688)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (6643)