devxlogo

Tip Bank

Replace Selected Content

Question: How do I replicate the pasteHTML function supported by Internet Explorer in Netscape? Rewriting the layer isn’t the problem. The problem is determining the position of the text returned

Prevent Caching Pages

Question: JavaScript provides straightforward methods for detecting things like browser version and platform, and a few options such as whether the client will accept cookies. But is there a way

Caching JavaScript Code

Question: Is it possible to cache a JavaScript or remote .JS file on a client? It seems that while you can cache images, HTML, objects, and so on, caching .JS

Add a Custom Favorites Icon

Question: When I add sites to my Microsoft Internet Explorer Favorites, the site’s logo (or icon) appears by the Web page’s name instead of the little “e” that usually appears

JSP Methods

Question: Is there a way to declare and invoke methods in JavaServer Pages? Answer: Methods can be declared in the same way as variables in JavaServerPages. It can help to

Client-Side Data Binding Is IE-Only

Question: Designing with JavaScript by Nick Heinle talks about using Internet Explorer’s Object tags for simple data binding of CDV databases. Is there a Netscape Embed tag (or other equivalent)

ADO Recordset

Question: Is there a way to programmatically reset the status of a record in an ADO 2.1 recordset? For example, I would like to change the status of a record

Round to a Whole Number

Question: I have a program that calculates the number of people the government could send to college with the money they spend on certain defense programs. The script works, but