Actually you need php to do that.
You can made a hidden form on your page.
HTML Code:
<form action="trip_enquiry.php" method="post">
<input type="hidden" name="tripname">
<input type="submit" value="Find out more about this trip">
</form>
The php page: trip_enquiry.php
PHP Code:
<?php $tripname = $_POST['tripname']; ?>
And then you can add your tripname into your form
PHP Code:
<input type="text" value="<?php echo $tripname; ?>" name="tripname">
__________________
There Are Only 10 Types of People in the World: Those Who Understand Binary, and Those Who Don't.
|