October 28, 1999

Execute FormCheck Function When Submitting Form

Question: I have a statement to submit a form: This JavaScript will validate entries in different textboxes placed on the form: FormCheck(this.form, ”, ”) When the user clicks the enter key without completely filling out all the controls on the form, the form gets posted and an error results (because

Why Should I Use XML?

Question: I recently bought a book that includes the XML specification as well as some commentary. Much to my surprise, I found that after authoring an XML document, the browser fed me tags as well as text. I discovered that you need to use XSL (Extensible Stylesheet Language) to get

Filter the Recordset Object

Question: Does using the recordset.filter variable slow down response time greatly? For example: rsObj.filter = “sCat = 1” I am using it to filter my recordset object so that I can fill specific drop-downs with data. But it seems to be very slow when used against a SQL Server database.

Move Common Sources Between Web Pages Into a Separate File

You can increase the speed of download by reducing the number of bits each page needs to be displayed. One way to shrink the download size is to reuse components that are common to two or more of the pages. It is possible that multiple DHTML pages on the website

Preserve The White Space Between Two Statements in ASP

ASP strips out white space between the closing delimiter of a statement and the opening delimiter of the following statement. If there is a need to preserve the white space between two statements, such as when displaying the values of variables in a sentence, you must use an HTML nonbreaking

Avoid Putting Large Data in the Session Object and Session States

If an IIS application needs to rely on the session state, then you should try to avoid putting large data in the session object and session states. Session tracking maintains information about a set of requests that are issued by a single client. Remember that the Sessions in IIS are

Compressed Output From Servlet

The Java servlet below demonstrates how to use compressed output fromservlets. You can compress big chunks of data before sending and they will be decompressed on the fly in the browser. Any browser supports, by default, different file formats.The most known and usable are gif and jpg of course. But