Pre populate form field with the text from a <p> using javascript
I have this on a page:

    <p class="test" style="width: 300px" title="intro">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>

Underneath, i want to have a hidden field... On clicking on the submit button, i would like the text from < p > with class "test" to pre-fill the hidden field.

Is this possible?

Miro

Pre populate form field with the text from a <p> using javascript
===

I have this on a page:

    <p class="test" style="width: 300px" title="intro">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>

Underneath, i want to have a hidden field... On clicking on the submit button, i would like the text from < p > with class "test" to pre-fill the hidden field.

Is this possible?

Miro
