How do you obtain and display the current date and time?
Ans: Create a new Date object with
var d = new Date( );
Then display this date with
document.frmMain.txtDate.value = d.toString( );
Explain the difference between client-side processing and server-side
processing.
Ans: Client-side means that all computations are performed by the browser.
Server-side means that information is sent back to the server, and then
the server processes that information, for example by updating its databases.
What is a CSS class? Why would you want to use one?
Ans: A class is like a style, but it has a user-defined name starting
with a dot. To use a style, use the attribute class=c1,
where c1 is the name of the class.