S
simon.croome
Hi,
I am trying to write a simple routine to see if three fields on a form
are empty when the page is refreshed, but I cannot get the example
code below to run at all, can anyone help ?
< My acutal HTML form is called frmCHGTASK but I have already changed
this in attempt to get the code working >
<script language="Javascript">
function checksecure(form)
{
if(document.form.srvname.value == "")
{
alert("Hello World!");
}
</script>
Thanks Simon.
I am trying to write a simple routine to see if three fields on a form
are empty when the page is refreshed, but I cannot get the example
code below to run at all, can anyone help ?
< My acutal HTML form is called frmCHGTASK but I have already changed
this in attempt to get the code working >
<script language="Javascript">
function checksecure(form)
{
if(document.form.srvname.value == "")
{
alert("Hello World!");
}
</script>
Thanks Simon.