JavaScript


Reference

FunctionUsed to...
alert("xyz") generate a prompt with an OK button
confirm("xyz") generate a prompt with an OK and Cancel buttons
date() return the full current date time
getDay() return the day of the week (0-6)
getTime() return the difference between two times (initial default is midnight Jan 1, 1970)
prompt("q","a") generate a prompt with a question, text input box and default answer
setFullYear() set a specific date
toUTCString() return the full current date time in universal time code


[ CSS | Events | DOM | HTML | JavaScript | Links | Home ]