Hi list,
I'm pretty sure that this must be a silly
question, but I can't find the way to do it. I
basically need to define a javascript function in the
header of my page. Specifically I need:
<head>
...
<script type="text/javascript">
//<![CDATA[
function myFunction() {...}
//]]>
</script>
...
</head>
I've tried adding it in the #updateRoot: by doing
something like:
updateRoot: aHtmlRoot
super updateRoot: aHtmlRoot.
aHtmlRoot javascript contents: /javascript code/
but it doesn't work. So, any hints are really appreciated.
Thanks in advance,
Andrés
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside