what is the date after 30days from current date using javascript
<p>How can I find the date 30 days after the current day? here 30 is the fixed value. how can i pass the dynamic value to this function.. </p>

<pre><code>days = document.getElementById('day').value;
var d = new Date();
d.setDate(d.getDate() + days);
</code></pre>

<p>it is not working..it gives wrong answer </p>
