Toon posts:

VBScript en Javascript

Pagina: 1
Acties:
  • 38 views sinds 30-01-2008

Verwijderd

Topicstarter
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????

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 28-08 12:00

Janoz

Moderator Devschuur®

!litemod

Dubbelpost.. Je topic staat al in WG..waarom begin je een nieuwe in PW?
zie hier

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.