Posted by Steve JORDI on 05/14/07 13:38
As a complement to my question...
I have a hidden form field called "recid" with id="recid".
By default it's set to "-1" to let me know the form is new
and has not been stored in the database.
I was thinking about adding a javascript event to the field's
onBlur() event like:
getElementById("recid").value = getElementById("number").value
to store the value currently in my field.
Then I could use a reference like
<A href="/formduplicate.php?id=<?=$_GET['recid']?>">...</a>
But I'm afraid that this would not work as the recid variable was not
part of a POST event or passed as an URL argument.
Is this correct?
Sincerely,
Steve JORDI
(Remove the K_I_L_LSPAM from my email address)
------------------------------------------------
1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com
Switzerland WWW: www.sjordi.com
------------------------------------------------
Volcanoes at www.sjordi.com/volcanoes
MovieDB at www.sjmoviedb.com
------------------------------------------------
Navigation:
[Reply to this message]
|