[alicebot-general] Javascript to manipulate document objects
superantonio
superantonioxp at gmail.com
Fri Oct 5 23:40:32 PDT 2007
I'm trying to manipulate some elements on my programD pages, such as images
by usin the Javascript tag
but doesn't work
the code is something like this
<template>Showing the image
<javascript>
var capa = document.getElementById("muestra")
capa.style.visibility = "visible"
</javascript>
</template>
but it gives me this error on the activity log
[2007-10-04 19:36:32,687] WARN: Got exception:
ReferenceError: "document" is not defined.
it this could work? am I doing any thing wrong?
I also need to open a popup window like window.open("whatever")
Thanks
--
View this message in context: http://www.nabble.com/Javascript-to-manipulate-document-objects-tf4570323.html#a13045074
Sent from the Alicebot General mailing list archive at Nabble.com.
More information about the alicebot-general
mailing list