Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [09-2007 Date Index] [Date Next] || [Thread Prev] [09-2007 Thread Index] [Thread Next]

[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




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.