how do I subtract one week from this date in jquery?
<p>this is my code</p>

<pre><code>var myDate = new Date();
todaysDate = ((myDate.getDate()) + '/' + (myDate.getMonth()) + '/' + (myDate.getFullYear()));
$('#txtEndDate').val(todaysDate);
</code></pre>

<p>I need txtEndDate's value = today's date - one week</p>
