View Single Post
Old 09-19-2008, 02:50 AM  
mikeyddddd
Viva la vulva!
 
mikeyddddd's Avatar
 
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
[Your URL]?id=your_value

Using PHP:

<INPUT TYPE=submit value=\"$id\">


Using Javascript something like:

Code:
id = location.href.substring(location.href.lastIndexOf(' '),location.href.lastIndexOf('id=')+3);
would find the field value for id

then use a javascript write to the value into the form:

Code:
<input type=submit value="<script language="JavaScript">document.write(id);</script>">
mikeyddddd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote