Thomas a écrit :
Sorry if this is a really obvious question but I am new at this. I
would like to have my javascript pass some variables it gets to a php
page I have to log the inputs. The inputs are collected in forms but I
want the logging to be completely hidden from the user. Any
suggestions?
J'ai rien compris!
From where come your JS variables ? (php write them ?)
The new values for these variables has to be put in inputs ?
document.forms[0].elements['hide_1'].value = myVariable;
but you can't hide your javascript ...
<form action="form_querry.php" method="post">
<p>Name : <input type=text name="name">
<p>Password : <input type=password name="pass">
<input type=hidden value="" name="hide_1">
<p><input type=submit value="OK">
</form>
--
Stephane Moriaux et son [moins] vieux Mac