25 Feb
2005
25 Feb
'05
12:10 p.m.
Am Freitag, den 25.02.2005, 11:41 +0000 schrieb cla:
Hi!
i would like to know if its possible to pass javascript variables to dtlm methods.
for example: <script type="text/javascript">
function general(){
var t="hello"
/* here is the problem until now within dtml the they dont recognize the t var */
<dtml-in "func(t)"> ... </dtml-in>
}
</script>
thanks
You are confused :-) JavaScript is entirely interpreted by the client - the client gets the page after the server has fully processed it. Redesign your approcach :-) Regards Tino