Preselect Set
This commit is contained in:
parent
5f9a6161b1
commit
6be5cf5038
@ -9,6 +9,8 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!-- Site Title -->
|
<!-- Site Title -->
|
||||||
@ -115,4 +117,16 @@
|
|||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Select set from last search -->
|
||||||
|
<script>
|
||||||
|
function getParam(paramName) {
|
||||||
|
return decodeURI(
|
||||||
|
(RegExp(paramName + '=' + '(.+?)(&|$)').exec(location.search) || [, null])[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
var selectedVal = getParam("set");
|
||||||
|
document.getElementById("set").value = selectedVal;
|
||||||
|
</script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user