<script> var name = '<?php echo basename($_SERVER['REQUEST_URI']); ?>';
</script>


--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces
Twitter: fabiomiranda
http://solucione.info


On Wed, Jun 16, 2010 at 6:06 PM, Sanford Whiteman <
[email protected]> wrote:

> > Have to pass it to JS.
>
> > <?php echo basename($_SERVER['REQUEST_URI']); ?>
>
> > This seems to be working.
>
> How is that queryable from JS as anything but a random text node? That
> seems  like a bad choice here.
>
> -- S.
>
>

Reply via email to