global variable in javascript
how to set a global variable in javascript and how to pass it to PHP?
adarsh
February 2,
var myvar = "12345";
window.open('http://mydomain.com/mypage.php?id='+myvar,'_PARENT');
<?php
echo $_GET['id'];
?>
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021