Will Script For Food

Web Scripting Tutorials

About

html, php, actionscript, javascript, ajax, dom, css, mysql, and xml tutorials

Archive for the 'Javascript Tutorials' Category

Javascript Syntax

Friday, October 3rd, 2008

Before you can start writing javascript, you must understand javascript syntax. The best way to learn javascript syntax thoroughly is to just begin coding javascript. But, in order to begin, you need a starting point, so I’ll give you a few ground rules.
Javascript Syntax Ground Rules:
1) Locations: You can write javascript in several different locations, [...]

Read the rest of this entry »

Javascript Event Handlers

Thursday, October 2nd, 2008

The term ‘javascript event handlers’ is a loose term. The more appropriate term would be ‘event handlers’. These event handlers can activate javascript when coded into your HTML. Through the event handlers, you can either code the javascript right into the event handler or call a function from the event handler.
Here’s an example:
onclick=”alert(’clicked on’);” [...]

Read the rest of this entry »

Javascript Alert

Thursday, October 2nd, 2008

The javascript alert is beneficial to the javascript programmer for several different reasons. The javascript alert can give feedback on variables within your script, let your site visitor know what they should do next or why they cannot proceed, and the alert can also let you know when your script is breaking.
This post assumes that [...]

Read the rest of this entry »

Javascript Intro…

Sunday, September 28th, 2008

To be able to program in javascript on your web page, you can do a couple of different things. One, you can include a javascript source reference in your web page. Or two, you can include javascript tags and begin typing javascript right into the web page.
To accomplish the first of the two options I [...]

Read the rest of this entry »