Menu
Easy Java Script Code

Disable IE8 Accelerators on Your Website
Accelerators is a new feature added to Internet Explorer 8 designed to allow Microsoft to make money off your website and steal search revenue from webmasters. The only way I can find to disable accelerators on Your Website is to take away your website visitors ability to select text on your webpages. More ...

JavaScript to Add and Remove Rows and Cells from a Table
If you need a client-side application where you have a table that you want to enable the user to add and remove rows and cells, this article provides you with JavaScript code to easily accomplish that. More ...

Regular Expressions Lookarounds
In this article you learn how to match a pattern only when it comes after another pattern (or after not that pattern) or only when it comes before another pattern (or before not that pattern). More ...

Code to Drag and Drop an Image Anywhere on a Webpage
HTML5's drag-and-drop standard is designed to let you drag text or data from a textbox or table cell, to another textbox or table cell. But what if you want to drag an image, not to a target element, but to anywhere on a webpage. Then HTML5 drag-and-drop falls short. More ...

Regular Expressions Subexpressions
In this article you learned how to use subexpressions to rearrange matches in a regular expression and how to replace the value of a subexpression match in the results. More ...

Sams Teach Yourself HTML5 in 10 Minutes
One important part of the new HTML5 specification is the new date-time picker control. In this book you create a webform that uses the new date-time picker control, and you'll also create a small PHP server-side program that displays the value you entered into the date-time picker control when you click the Submit button to show how you can extract data from the control on the server. More ...

Java Script Message Boxes
Java Script provides three different types of message boxes that allow you to display a short message to the user, or request a bit of information from the user. If one of these built-in message boxes don't suit your needs, this article shows you how to create your own custom message box. More ...

JavaScript Code to Restrict Keyboard Entries
This article shows you how to restrict the user's keyboard input to a textbox to only the digits 0 and 1. You should to be able to modify the code for your own purposes. More ...

JavaScript Code to Make Image Wave Like a Flag
This article provides JavaScript code and instruction to make an image wave like a flag. More ...

Easy JavaScript Form Design
A form is an html element that allows users to enter information. To experiment with forms in JavaScript, replace the method and action attributes in the form opening tag with onSubmit='javascript return false;' to prevent the form from being submitted to the server. More ...

Easy Slide Show Code With Linked Slides
A slide show sequences through pictures of products. Wouldn't it be nice if the user could stop the slide show, go back to the previous picture, click on the picture to get detailed information about the product? More ...

Easy Graph Generating Code
If you want to display a graph on your web page, you could use a graphics program to draw the graph, but that's time consuming and the resulting graph is static, it can't change or grow. In this article I will show you how to generate graphs using JavaScript. More ...