here is the code below for the button that carries value 1;
<button onclick="passValue('1')">Pass Me</button>
and this script would set the value into a form input;
below the script is the form where the value should be pass.
<?php echo $_REQUEST['myVal']; ?>
is there anyone who can help me solve this problem?