JavaScript

View:  
Sorted by:  

JavaScript and HTML

You can think of JavaScript as an extension to HTML; an add-on, if you will.

Here's how it works. HTML tags create objects; JavaScript lets you manipulate those objects. For example, you use the HTML <BODY> [more…]

What Can I Do with JavaScript That I Can't Do with Web Languages?

HTML. DHTML. XML. JavaScript. Java. Flash. When it comes to Web development, the sheer array of languages and development tools can be confusing — and you might be left wondering which language is best [more…]

The Best Things about JavaScript

JavaScript is a scripting language, which is a programming language that's designed to give folks easy access to prebuilt components. In the case of JavaScript, those prebuilt components are the building [more…]

Code to Use in JavaScript Variable Manipulation Functions

As shown in the following table, you can use these JavaScript statements in your own code to create and modify variables in your JavaScript functions. [more…]

Basic I/O Commands in JavaScript

JavaScript programmers commonly use the commands shown in the following table for controlling dialog-based input and output in programs to be used on the Web. [more…]

JavaScript Conditions and Branching Code Structures

Look to the following table for JavaScript control structures you can use in your program code to add branching and looping behavior to your JavaScript programs. [more…]

Add JavaScript Comparison Operators to Condition Statements

JavaScript uses comparison operators inside conditions to make numeric or alphabetical comparisons of variables to other variables or values. Using these operators, you can determine whether a variable [more…]

Create JavaScript Structures and Objects

JavaScript allows you to put together code lines to create functions and variables to create arrays. You can put functions and variables together to create objects. [more…]

Change Your Web Page with JavaScript Document Object Model Methods

The Document Object Model methods shown in the following table offer you a great way to access and modify your Web pages through your JavaScript code. [more…]

Add Searching Tools with Regular Expression Operators in JavaScript

The regular expression mechanism adds extremely powerful searching tools to your programming. Here are some of the most commonly used regular expressions as they are used in JavaScript. [more…]

Common Methods of the jQuery Node

The jQuery library turns DOM objects into powerful jQuery nodes. The following table shows a few of the more commonly used methods of the jQuery node. [more…]

jQuery Selectors and Filters

Part of jQuery’s power is based on its ability to select particular sections of the page. This table includes several commonly used selectors and filters. [more…]

Add jQuery User Interface Classes to Theme Styles

These CSS classes are defined in a jQuery UI theme. If you’re using jQuery UI, you can add any of these classes to your objects to add the theme styles. [more…]

jQuery Methods for Sending an AJAX Request

As you can see from studying the following table, jQuery supplies several methods for sending an AJAX request to the server and parsing the results. [more…]

JavaScript & AJAX For Dummies Cheat Sheet

The tables you find here offer a one-stop reference for the most common programming variables, commands, methods, and coding miscellany used in JavaScript programs, jQuery, and AJAX. [more…]

JavaScript Basic Cross-Browser Document Object Model

Like any other language, JavaScript has its own grammar and syntax — rules you need to follow to be understood. The following document object hierarchy lists the built-in objects you can work with in client-side [more…]

JavaScript Object Terms

JavaScript is an object-based language. To understand how to interact with the document object model you work with in JavaScript, you need to understand some basic object-related terms. The following table [more…]

Troubleshooting JavaScript

JavaScript is a wonderful tool to use to create interesting and interactive Web pages, but every once in a while nothing works and you have no idea where to start to get things moving again. Not to worry [more…]

Showing, Hiding, Sliding, and Fading Elements with jQuery

jQuery effects are great fun and can transform a simple, static Web page into a dynamic, interactive experience for the site visitor. Part of the visual interest that jQuery offers is the capability to [more…]

Inserting Content Before, After, and Inside Elements with jQuery

jQuery provides you with easy ways to get at the data in your Web page. In particular, you can insert any content you want, anywhere on your page. The examples that follow all use this sample code: [more…]

Online jQuery Resources

As you gain experience with jQuery, you'll likely have questions about more advanced jQuery techniques. And after you use jQuery plug-ins, you’ll be hooked and want to get more. [more…]

Selecting Elements with jQuery

jQuery allows you to select elements in a Web page with ease. You can find anything you want in a page and then use jQuery to add special effects, react to user actions, or show and hide content inside [more…]

jQuery For Dummies Cheat Sheet

jQuery is a powerful and simple JavaScript library that you can use to select elements in your Web page, add impressive special effects, and insert content. Also find great resources for jQuery tips, tutorials [more…]

HTML, CSS, and JavaScript Code Hints

As a Web designer, you use some bits of HTML, CSS, and JavaScript code frequently but not often enough to commit to memory. The following HTML code, CSS style, and JavaScript hints are handy when you are [more…]

Java and JavaScript Resources for Building a Web Site

Java applets add power and functionality to your Web site. JavaScript provides enhanced user interfaces and other functionality to create dynamic Web sites. These two technologies help your Web site be [more…]

Sign Up for RSS Feeds

Computers & Software
Great Gadget Giveaway -- Enter to Win!

Inside Dummies.com