Tip Bank

DevX

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

DevX

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

DevX

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

DevX

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

DevX

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

DevX

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)

DevX

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