[dokuwiki] Re: page id from javascript

That's what I'm doing now, but I was hoping it would be already available in
the existing code...martin

On 9/13/07, Myron Turner <turnermm02@xxxxxxx> wrote:
>
> 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: