I don't know why when I click on the Download 1 link and the Download 2 button my modal window closes automatically (Test 2) ???
I want my modal window to close only when I click on close.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport"...
Hi,
I would like to update the variable $_SESSION when I click on one of the links (click on Spanish -> $_SESSION["lang"] = "es")
Index.html :
<?php
session_start();
if (!isset($_SESSION['lang'])) { $_SESSION['lang']='en'; } // -- default language
?>
<!DOCTYPE html>
<html lang="en">...
Hi,
I would like to update my URL according to the language of my browser.
en : localhost/test/?lang=en
fr: localhost/test/?lang=fr....
<script type="text/javascript">
let lg = navigator.language.substr(0, 2).toLowerCase();
if (lg != "en" && lg != "fr" && lg != "es") lg = "en"...
Hello,
When I add method="POST" (line 147) to my form I lose the effect of closing the modal :
<?php
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Test Popup Modal</title>...