I’m having an order form with 6 steps, by hidden div’s. Every input field en selectfields having there own ID.
All the values have to show 1 time, except for the select with ID: catid, this one has to show up on every page. But with the code below it’s only showing in one div.
Can anyone help me?
With this jquery i’m showing all the values on the last stap, sort of summary.
<script>
$("text1preview").draggable({ containment: '#dragcontainer' });
$("address1preview").draggable({ containment: '#dragcontainer' });
$("titlepreview").draggable({ containment: '#dragcontainer' });
$("zipcodepreview").draggable({ containment: '#dragcontainer' });
$("descriptionpreview").draggable({ containment: '#dragcontainer' });
$("wijkpreview").draggable({ containment: '#dragcontainer' });
$("address2preview").draggable({ containment: '#dragcontainer' });
$("tagspreview").draggable({ containment: '#dragcontainer' });
$("catidpreview").draggable({ containment: '#dragcontainer' });
$("pricepreview").draggable({ containment: '#dragcontainer' });
</script>
To show the selected text value you can use jQuerys .text(); shown in the example below
Updated example:
http://jsfiddle.net/davidoleary/cTDvd/2/