October 18, 1999

Determining Size of an INPUT Field

Question: How can I determine the maximum size of an INPUT field? Answer: Although you can certainly use JavaScript to find out the size of your user’s screen or the

Creating a “Browse for Folder” Dialog Box

Question: How can I create a “browse” facility in my application&#151something which throws up a dialog box that allows the user to view folders and select one, as in Microsoft

Declaring Data for an Object

Question: I’m trying to declare some data for an object such that, when necessary, other functions can use the object not only to perform member functions but also serve as

Maximum URL Length

Question: Is there a maximum URL length? One of my forms has a bunch of text fields on it so I am concerned that it might truncate when I pass

Numeric only TextField

Question: Is there is a way to create a text field that only accepts numeric input? Answer: There are probably a couple of a ways to go about doing this.

Prevent Certain Files From Being Bookmarked

Question: How can I prevent certain files on my site from being bookmarked? Answer: There is no way to fully prevent people from bookmarking a certain URL on your site.

Precise Division

Question: I have var1 and var2 both ints in a DB (only ints will be entered into var1, var2). But I want the result to show answer with decimal places:

Retrieving Data from a Text Field

Question: I have a table with a text field that stores a long description. When I use the Select statement to query the table, it only returns 255 characters. How