How to set the value of a form element in contact.html page, when I click a link using javascript?
<p>I have two pages:</p>

<ol>
<li><p>the products page, that has the products, and every product has a "Send us a message" link;</p></li>
<li><p>the contact page, that has a form with four elements: name, email, subject and message;</p></li>
</ol>

<p>when i click on the "Send us a message" link in products.html page, i would like that the value of "Subject" element of the form in contact.html, to be the title of the product.</p>

<p>So, if I have a product with the title "BMW 530xd 2009", when I click the link "Send us a message" below it I would like to send me tot the contact.html page and the "Subject" field of the form to be autocompleted with "BMW 530xd 2009".</p>

<p>How I do that with javascipt?</p>

<p>Thank you </p>
