Show Day Of Week in TextBox

[Total: 0    Average: 0/5]

This shows the day of the week in a form text box.

Body Code:

<script>
var _d=new Date();
var _dayOfWeek=_d.getDay();
var _a  = "<form><input name=t1 value='";
    _a += _dayOfWeek;
    _a += "'></form>";
document.write(_a);
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *