I have jquery calendar code like this
<script>
$(document).ready(function() {
$('#calTwo').jCal({
day: new Date( (new Date()).setMonth( (new Date()).getMonth() + 2 ) ),
days: 7,
showMonths: 1,
monthSelect: true
});
});
</script>
And in my body contest as follows
<body>
<span id="calTwo"></span>
</body>
The above code is working fine but my requirement is instead of using span id tag i need to use text field and adjacent to the text field one calendar image. By clicking on that image calendar should get displayed, and whatever the date i have selected that should be shown in the text field.
I am new to Jquery and no idea how to implement this feature Any help.?