Skip to content

Instantly share code, notes, and snippets.

@addorange
Created June 21, 2013 06:06
Show Gist options
  • Save addorange/5829211 to your computer and use it in GitHub Desktop.
Save addorange/5829211 to your computer and use it in GitHub Desktop.
Contao - Request an JavaScript übergeben
<script type="text/javascript">
window.addEvent('domready', function()
{
var objRequest = JSON.decode(
'<?php echo json_encode($this->Environment->request)?>'
);
alert(objRequest);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment