
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
We can pass variables from page to page with the following script: This snippet of ASP script will also automatically create hidden fields that will be dumped into all following
If you’re writing complex frame sets by hand, it’s easy to get lost in “spaghetti code.” To keep a handle on the situation, don’t build the entire frame set at
JavaScript does not have a built-in function for formatting floating-point numbers. However, it’s easy to create one using JavaScript’s String methods. For example: function format(expr, decplaces) { // Convert the
There are some differences in Cascading Style Sheet implementation in Internet Explorer 3 and 4. So you may want to choose which set of style sheets to load for your
Using the BrowserType object, your ASP pages can detect the type of browser being used to download the page. In addition, you can also test the browser for specific capabilities.
The following code can be used in the tag of an HTML document for automatic mouseover effects on all links on the page. The styles ‘a’ and ‘a:visited’ are used
Question: How can I use SQL to access an Informix database that’s on a remote site and connected via a VPN while connected to an Informix database locally? Both are
ServerVariables’ collection of request objects provides vital information about the client browser, HTTP header, etc. During the development of a web application, we use various variables of this collection to
Both IE and Navigator let you specify different background colors in table cells. However, IE ups the ante by supporting tiled background images in different cells or even behind an
The default setting for ScriptTimeout is 90 seconds. For IIS 3.0, it is located in the system registry where we can easily change it to another value. It is advisable
JavaScript provides a special keyword, “this”, which is a reference to the object that contains a JavaScript statement or function call. For example, if we have a text box object,
If you use frames in your page, it’s easy enough to create a link that updates one of them. But what do you do when you need to update two
We can use the following JavaScript code to get a confirmation from the user before navigating to another page. Redirect
We can associate a shortcut key to give focus to an tag as follows: Name: The letter “N” will be underlined, which gives a visual cue that N is the
Question: Is it possible to delete duplicate rows in a table without using a temporary table (i.e., just do it with a single SQL statement)? Answer: All you need to
The XMLHttpRequest object provides client-side protocol support for communication with HTTP servers. A client computer can use the XMLHttpRequest object (Microsoft.XMLHTTP) to send an HTTP request, to receive the response,
I often use the following trick in my code. Let “a” and “b” be real positive numbers. You want to find the smallest integer greater than or equal to “a/b”.
Question: When I implemented a pull-down menu, it wiped out the default, anchoring color schemes. When I changed the pull-down menu to blue text, my anchored text showed blue again.
Question: When I press the right mouse click, I’d like to have a custom menu pop up instead of the usual default browser pop-up. How can I do this with
Question: I’m loading news links from our companies’ database to our home page using the tag. However, when a user clicks on one of these links, the news item appears
Question: Is there a way to read the contents of a directory into a table so that the contents of each cell of the table becomes a link? Answer: This
Question: I’m using ASP to register data in a DBF table through a SQL statement. I get data from a form (textarea) in an HTML page. However, the SQL statement
Question: My app. name contains the char “> “: myapp>name Of course, this creates huge problems. How do I get past this in HTML, when displaying or referencing the app.
If you have light menu pages but heavy graphics on pages deeper into the site, sneak a graphic or two into the user’s cache while someone is reading your home
On May 9, Mark Williams contributed the following:Manoj Singh’s tip to “Kill the Browser’s Offset Bug” was only partially correct. You can fix this “bug” under Netscape as well as
You may already know that remote scripting is a great way to access server-side functions and procedures from client-side scripting. However, when you use parameters in a server-side function intended
DHTML intrinsic behavior gives advantage to changing the user’s home page to the current page. The style block, which goes in the of the document, associates the home page class
Question: How do I activate trim trailing blanks from No to Yes? Answer: The SET ANSI PADDING statement controls the setting you are referring to. When a table is being
Question: I have to build a GSM application as written with the SIM toolkit protocol but within the WAP environment. How can I communicate via WML with the SIM card,
Question: How do you delete folders like Front Page, Outlook Express and the like? Answer: Well, from the command line you have several options. You can use DelTree to remove









