so if I am correct in my assumption/ research then it should look something like this in Javascript ? Am I incorrect here and if not then how do I marry this logic to my specfic textbox ?


Code:
<html>
<head>
<script type="text/javascript">
function ChangeDate()
{
var myDate = NewDate;myDate.setDate(myDate.getDate()+7);
</script>
</head><body>
<input type="text" id="fname" onblur="ChangeDate()"></body>
</html>