site

September 24, 2007 at 2:55 am (Uncategorized)

a site i found and liked…

http://www.podczyrna.pl/ 

Permalink 1 Comment

Pic

July 30, 2007 at 6:00 am (Thoughts, Uncategorized)

I took this picture one afternoon as i sat in my backyard watching the sun set..tree…

Permalink 1 Comment

JavaScript Evidence

July 30, 2007 at 5:57 am (Uncategorized)

JavaScript Evidence

Documentation

 

For the file java5.html there is inline JavaScript located inside the head tags of the file. There are two functions at work within the file.

 

One of the functions is named function hide(). This function is called on the loading of the page;

<body onLoad=”hide()”;>.

Its function is to hide the error messages located underneath all input areas within the pages form.

 

The other function is named function checkform(), and is called when the submit button is clicked;

<input type=”submit” onClick=”checkform()” value=”Submit it!” />

The use of this function is to validate the content the user writes in the input fields within the form.

There are four fields that must be filled in by the user. They are Full name, Street Address, Quantity and Postcode. The function firstly makes sure that the full name and street address has content within it. It then checks that the quantity field has something written in it, then verifies the content to be numbers.

The postcode field then confirms to make sure it has something written inside it, checks to see if it is numbers, then ensures it is equals to the value of 4.

 

Permalink Leave a Comment