Quite simple, if I have two pics to choose from, and a text box and selector. I want an output showing what pic i clicked, what was entered in the text box, and what option i selected. For example:
JSFiddle - https://jsfiddle.net/vdqz2esz/2/
<!--STYLE-->
<img src="Images/casual3.jpg">
<a class="btn btn-primary btn-lg" href="#div2" role="button" value="casual" id="casual">Casual »</a>
<img src="Images/Street2.jpg">
<a class="btn btn-primary btn-lg" href="#div2" role="button" value="street" id="street">Street »</a>
<!--height-->
<form>
Height:<br>
<input type="text" name="height" id="height"><br>
</form>
<!--shirt size-->
<select>
<option value="small" id="small">Small</option>
<option value="medium" id="medium">Medium</option>
<option value="large" id="large">Large</option>
<option value="xlarge" id="xlarge">X-Large</option>
<option value="xxlarge" id="xxlarge">XX-Large</option>
</select>
<a class="btn btn-primary btn-lg" href="#" role="button">Submit »</a>
<!--output here-->
<p id="style1">Style:</p>
<p id="height1">Height:</p>
<p id="shoes1">Shoes:</p>
Using Jquery, how would i go about doing this?
Was trying some stuff like this, but wasnt working. Im grasping at straws here...
$('#height1').html("#height");
Thank you as usual.