[dokuwiki] Re: page id from javascript
- From: Myron Turner <turnermm02@xxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 13 Sep 2007 21:15:42 -0500
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
- Follow-Ups:
- [dokuwiki] Re: page id from javascript
- From: Martin Tschofen
- References:
- [dokuwiki] page id from javascript
- From: Martin Tschofen
Other related posts:
- » [dokuwiki] page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
- » [dokuwiki] Re: page id from javascript
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
- [dokuwiki] Re: page id from javascript
- From: Martin Tschofen
- [dokuwiki] page id from javascript
- From: Martin Tschofen