日付比較に基づいて JavaScript 関数を作成する必要があります。つまり、Currentday と Currentday+7 を比較するには、.
function a(value)
{
//here how to get current date
//here how to add 7 days with current date
return addedvalue;
}
function b(value)
{
var s=a(value);
//again getting current date here
//check this function current date with s.then if its true means show,
alert('next 7th day is'+s);
}
これを行う方法?