Tuesday, March 13, 2007

Tech post.. on Javascript..

It has been quite some time since I last post on tech stuffs. So today am going to input a valuable information on Javascript. A simple yet useful function for redirection.

To redirect a parent window through a popup window, following script can be used.

On basic validation for radio buttons, consider that the coded form name is 'aFormName' and the radio button name is 'radioBtnName', following code can be used to validate selected radio buttons

Sample on HTML
<input type="radio" value="1" name="radioBtnName">

The script

3 comments:

cossie said...

yeah... free education.

Alicia said...

cossie : programming is gay lah.. esp if it involves javascript :P

cossie said...

well... it's your job; not mine. :p