Hi I have below javascript code
<SCRIPT language="javascript">
function validate(){
if(document.r_requisition.r_project_name.value=="deny"){
alert ("You are not authorised to any project ");
return false;
}
if(document.r_requisition.r_number.value==""){
alert ("input in req No.");
return false;
}
if(document.r_requisition.r_delv_date.value==""){
alert ("input Delivery Date: ");
return false;
}
}
</script>
Its working fine. But when I saved this file and write to my document header section
<script type="text/javascript" src="js/r_validate.js"></script>
its not working. can anybody solve this