Pass a value as hidden to PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do I get the document.tstest.timestamp.value from the JS and pass it as
a hidden value on the resultsHistory.php page ?

 

See the code listed below, andy help would be appreciated !

 

 

<html>
<title> Get History </title>
 
<head>
<script language="JavaScript" src="ts_picker.js
<view-source:http://sarreid.com/SarreidRep/ts_picker.js> "> </script>
</head>
 
<body>
 
<center>
<h1> Company History </h1>
<table width=600 border=0><tr><td>
<form name="tstest" method="post" action="http:resultsHistory.php
target=_blank>
Enter Starting Date : 
</td><td height=100>
   <input type="Text" name="timestamp" value="">
   <a href="javascript:show_calendar('document.tstest.timestamp',
document.tstest.timestamp.value);"><img src="cal.gif
<view-source:http://sarreid.com/SarreidRep/cal.gif> " width="16" height="16"
border="0" alt="Click Here to Pick up the timestamp"></a>
<tr><td height=100>
   Enter Company:  
</td><td>
   <input type="Text" Name="rep" Value="1649272181">
   <input type="Text" Name="company" Value="20251">
<tr><td>
   &nbsp;  
</td><td align=right> 
<input type='hidden' name='h_company' value='20251' />
<input type='hidden' name='h_mpad'    value='1649272181' />   
<input type="Submit" Name=Submit" Value="Get History">
</form>
</td></tr></table>
</center>
</body>
</html>
 
 
 
 

 

 

Larry Sandwick

(252) 291-1414 x223

 

visit -  www.sarreid.com

 

 

 

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux