Here is my java script. I'm trying to figure out how to manipulate the code to create the functionality that i am looking for. I want to select the button for Monday and after clicking on it the correct date display for the button that is clicked
<script type="text/javascript">
$(document).ready(function () {
$("#date").datepicker();
});
</script>
Here is my html.
<div style="float: left;"><b>Week One:</b>
<fieldset data-role="controlgroup" data-type="horizontal" data-mini="true" />
<input type="radio" name="week" class="twodate" id="radio-choice-a" value="Mon" checked="checked" onclick="radioclick()"/>
<label for="radio-choice-a">Mon</label>
<input type="radio" name="week" id="radio-choice-b" value="Tues" />
<label for="radio-choice-b">Tues</label>
<input type="radio" name="week" id="radio-choice-c" value="Wed" />
<label for="radio-choice-c">Wed</label>
<input type="radio" name="week" id="radio-choice-d" value="Thurs" />
<label for="radio-choice-d">Thurs</label>
<input type="radio" name="week" id="radio-choice-e" value="Fri" />
<label for="radio-choice-e">Fri</label>
</fieldset>
</div>