For the life of me I cannot seem to sort out what I am doing wrong here.
My firefox error console reports that signup is not a function :
The script is in the header.
I know it is probably something simple but I have spent quite a bit of time stripping the code back to its barest to diagnose but still I cannot get this to work.
My firefox error console reports that signup is not a function :
The script is in the header.
Code:
<script language="JavaScript">
function signup(){
alert("Hello");
};
</script>
<form name="signup">
<table class="signuptbl" cellSpacing=0 cellPadding=0 border=0>
<tr>
<td align="right">
<label for="email">E-mail : </label>
</td>
<td align="left">
<input class="prof" type="text" name="email" size="35" maxlength="80" value=""> *
</td>
<td align="center" colspan="2">
<input type="button" name="subsignup" value="SUBMIT" onclick="signup();">
</td>
</tr>
</table>
</form>
I know it is probably something simple but I have spent quite a bit of time stripping the code back to its barest to diagnose but still I cannot get this to work.