ok im not a java person so i know im doing something wrong in this code...
<script Language="JavaScript">
<!--
function SubmitPage(theFormName) {
if (document.theFormName.submit();
}
//-->
</script>
basically what im trying to do is to be able to specify 'theFormName' when i call the javascript function like this...
<a href="javascript:SubmitPage(<%=rs("Prod_ID")%>)">
can anyone tell what i am doing wrong? Its giving me this error..
document.theFormName is not an object
Brad
Edited by - redbrad0 on 01 May 2001 18:40:41