
Preventing Undefined JavaScript Function Errors
You can define JavaScript functions anywhere in an HTML file, however, the best place to define them is in the HTML header (between the and tags). If a JavaScript function

You can define JavaScript functions anywhere in an HTML file, however, the best place to define them is in the HTML header (between the and tags). If a JavaScript function

A thrown exception is considered caught, when its corresponding handler has been entered (or, in case such a handler cannot be found, when unexpected() function has been invoked). Sometimes you

Some browsers do not display a table cell’s background color unless the cell contains some HTML content. It is often handy to use table cell background colors to “paint” a

Most implementations of STL (Standard Template Library) use pointers as the underlying representation of iterators. However, an iterator doesn’t have to be a pointer, and there’s a good reason for

Since namespaces are relatively new in C++, some compilers do not support this feature yet. To workaround this lack of support, you can use struct holding static member functions: struct

When launching a data file with the ShellExecute() function, Windows tries to find the associated application and open the data file with this application. But what happens if no association

Although VB’s SSTab control behaves as if each tab page is a container, it actually uses a single container for all tab pages. This can cause unexpected behavior if you

Sorry, you can’t change the Appearance property of a text box at run time?but you can make it look like you have! If set to none, a 3-D picture box

Conventional wisdom suggests that to delete an array element, you must move up all the subsequent elements to close the “gap” left by the deleted item. However, if the sequence