hi frnz,
wat i m doing is data validation using javascript.
in which i have 2 radio button both r unchecked.
one is textbox, other is multiline textbox
now what happening is,
it checks whether something is written in the field or not. if not show alert(pls fill all the field ) and focus goes to the first field which is not written.
since in this case i m using radio button pb arises bcoz both are disabled.
i m using this code:
{
if(document.forms[1].elements["adUrl"].value=="")
{
alert("Please enter value in all the fields!");
document.forms[1].elements["adUrl"].focus();
return false;
}
else
return true;
it shows alert but after dat it is updating database.
databse coding follows this code.
so wat should i do.

?pls help