I can’t get around this javascript..
basically what it does is..
when user doen’t select the item from combobox it will pop up the msg. or he/she select the file, it will take him to next page..
<SCRIPT LANGUAGE=”JavaScript”>
<!–
function CheckName()
{
with ( window.document.forms[0] )
{
if (cboforth.value.length == 0)
{
alert (“Please select a study name”);
return false;
}
}
return true;
}
function someFunction(this) {
if (window.document.form.cboforth) {
window.open(‘sTudy_Detail.asp?strfildisplyename=<%=Server.URLEncode(strFith)%>’, ‘_self’);
} else {
CheckName();
}
}
–>
<input type=”button” name=”Button” value=”More Information” onclick=”someFunction(this);”>