Hi, I'm developing a web site for a customer, now I face a problem with passing a text from one page to another page.

I have two web pages <tourdetails.html> in this web page when a user clicks the bookings button it had to take the name of <tour title> and place it in the <booking.html> page combo box.

In this bookings page all calculation will be done so I just want to get the heading from the <tourdetails.html> page.

could any one help me on this.... plz.

This is a static website with no code behind (PHP, JSP, .Net)? In that case you will have to use javascript to access the form elements will the booking.html page loads but its pretty hawkish and not pretty.

Using some form of server side code would be far more useful.To do this you must have a form on the first page with an action attribute set and a submit button (which I hope you have or you might find this difficult). Then use PHP to read the posted form and use the result.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.