I'm rather a noob to JavaScript and jQuery, so I need some help. WIthin my app, I've implemented a DatePicker calendar, loaded through an external js, and it works perfectly fine. I want to implement a jQuery button which can catch the date, i.e: 3rd of August, and fetch me a wikipedia page www.wikipedia.org/August_3. I also want this page to be uploaded to an iframe below. How can I do that in jquery? Here are the simpliefied versions of the html and the js respectively.
<head>
<script src=".../jquery.ui.button.js" type="text/javascript">
<script src=".../jquery.ui.datepicker.js" type="text/javascript">
</head>
<body>
<script src="/.../myscript.js" type="text/javascript">
<div class="demo">
<p>Date: <input id="datepicker" type="text"></p>
</div>
<script>
$(document).ready(function()
{
$( "#datepicker" ).datepicker();
});
</script>