Embed Flash in XHTML – Pass W3C Validation

October 4, 2009 by satz  
Filed under HTML, JavaScript, XHTML

Inserting flash(swf) files directly in XHTML causes w3c validation errors. This article explains how to embed flash in XHTML pages with out affecting the page Validation.

The Usual method is to use “<object>” tag and “<embed>” tag to insert the flash files in web pages. This  causes errors while validating the page as per the w3c standards. Read more

Finding the value of a radio button

September 29, 2009 by satz  
Filed under JavaScript, Scripts

Accessing the value of a radio button set is not an easy task. Values from text input fields can be easily retrieved easily by just making use of [document.formname.textinputfiledname.value]. But radio button set’s value cannot be retrieved using this method.

This article shows how to get the value of a radio button set.

Read more

A brief Note on JavaScript Objects – JavaScript articles

September 22, 2009 by satz  
Filed under JavaScript, Scripts

JavaScript is an Object Oriented Programming language (OOP). An Object is a special kind of data and acts like real –life objects. An object has properties and methods. A real-life example for object could be a music system. It has properties like, on, off, current volume, etc. The methods could be said as, turn on, turn off, increase volume, etc. Similarly, JavaScript objects do have properties and methods.
Read more

Next Page »