I have a script that pulls data from a form when it's submitted and passes that data to the next page.
On that page it displays the text...
<script type="text/javascript">formData.display("name")</script>
So it prints the name that the user gave earlier.
So I tried putting that into a textbox to pre-populate it....
<input class="text" type="text" name="name" value="<script type="text/javascript">formData.display("name")</script>" />
Unfortunately it just shows the code rather than the actual name.
So is there an easy way for me to get the text that displays with
<script type="text/javascript">formData.display("name")</script>
and put that into a textbox?