Saturday 08 January 2005 10:53:02 pm
i write a file scripts.js like following:
var = {$node.name};
document.write(var);
and upload it under corresponding folder
in template file:
<script src={"scripts.js"|ezdesign} type="text/javascript" language="javascript"> </script>
this will print out nothing, if i change var="test", and it works fine. how can i print $node.name out in jaascript ? thanks!
|