[dokuwiki] Re: page id from javascript

Martin Tschofen wrote:
Is there a way to access the page ID of the current page via javascript? Snooped around on the DW site without luck and can't find any previous mention in the list.

I know I can create a template and output it in the header, but I was hoping there is a way without a special template...martin
<script>
var ID = "<?php echo $ID; ?>";
</script>

--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: