Ik heb met onderstaande stukje coding problemen:
<html>
<head>
<title></title>
<script language="VBScript">
<% if mustupdate=1 then %>
parent.itemtoc.location=parent.itemtoc.location
<% end if %>
Function Popupdate(fldName,fldValue)
msgbox fldName
msgbox fldValue
tmpYear=Year(fldValue)
tmpMonth=Month(fldValue)
tmpDay=Day(fldValue)
tmpDisplayValue=fldValue
window.open 'dateview.asp?mod=<%=module%>','displayWindow','top=150,left=300,width=220,height=220,resizable=0,scrollbars=no,menubar=no,status=no'
End Function
sub getnewvalues()
thenewref=inputbox("Geef een korte referentienaam (zonder spaties) voor de nieuw te maken bladzijde in.")
if thenewref <> "" then
editform.action="itemview.asp?newrecord=" & thenewref & "&mod=<%=module%><%=sitestrparams%>"
editform.submit
end if
end sub
sub submitform(method)
editform.action="itemview.asp?" & method & "=1&mod=<%=module%><%=sitestrparams%>"
document.editform.submit
end sub
</script>
</head>
<body class="main">
<form name="editform" method="POST">
<p><textarea rows="10" name="inhoud" cols="50">Hier is ruimte voor tekst.</textarea> </p>
</form>
</body>
<script language="JavaScript">var DIALOG='dialog.html', VISUAL=0;</script>
<script language="JavaScript" src="quickbuild.js"></script>
</html>
_____________________________________
Als ik het VBscript compleet weghaal werkt het programme correct, laat ik het staan dan krijg ik de melding : object verwacht: inhoud
Wie kan mij met dit probleem helpen????
<html>
<head>
<title></title>
<script language="VBScript">
<% if mustupdate=1 then %>
parent.itemtoc.location=parent.itemtoc.location
<% end if %>
Function Popupdate(fldName,fldValue)
msgbox fldName
msgbox fldValue
tmpYear=Year(fldValue)
tmpMonth=Month(fldValue)
tmpDay=Day(fldValue)
tmpDisplayValue=fldValue
window.open 'dateview.asp?mod=<%=module%>','displayWindow','top=150,left=300,width=220,height=220,resizable=0,scrollbars=no,menubar=no,status=no'
End Function
sub getnewvalues()
thenewref=inputbox("Geef een korte referentienaam (zonder spaties) voor de nieuw te maken bladzijde in.")
if thenewref <> "" then
editform.action="itemview.asp?newrecord=" & thenewref & "&mod=<%=module%><%=sitestrparams%>"
editform.submit
end if
end sub
sub submitform(method)
editform.action="itemview.asp?" & method & "=1&mod=<%=module%><%=sitestrparams%>"
document.editform.submit
end sub
</script>
</head>
<body class="main">
<form name="editform" method="POST">
<p><textarea rows="10" name="inhoud" cols="50">Hier is ruimte voor tekst.</textarea> </p>
</form>
</body>
<script language="JavaScript">var DIALOG='dialog.html', VISUAL=0;</script>
<script language="JavaScript" src="quickbuild.js"></script>
</html>
_____________________________________
Als ik het VBscript compleet weghaal werkt het programme correct, laat ik het staan dan krijg ik de melding : object verwacht: inhoud
Wie kan mij met dit probleem helpen????