JSFiddle - React, Tailwind, and code Playground

by Loxos

HTML

<form action="login.php" method="post">
           <input type="hidden" name="clientID" id="client_id" value="" />
           <button>Login</button>
  </form>

JavaScript

var paramvalue = "something"
      document.getElementById("client_id").value = paramvalue