logo

Articles by Category - JavaScript

Using the if statement effectively

"If" is probably the most used JavaScript statement in any one given function or script. There are a variation of ways it can be used and your choice of which method can make your coding a lot easier...

29 Jan 2001 | Keywords: if, else, case, conditional | Read »

Making pop-up windows modal

Hmm, the infamous Pop-Up Windows I don't know about you but they are enough to make we want to scream sometimes. More often than not nowadays they are the source of advertising (something that codest...

30 Oct 2001 | Keywords: dialog, modal, window, pop-up | Read »

Checking for attachments in JavaScript

Have you ever needed to validate a form and check that there is at least one attachment? I did this recently and came up with the following solution. Place the following Formula in to the HTML Header...

5 Dec 2000 | Keywords: attachment, upload, limit | Read »

Remind users to save their forms

Continuing my trend of articles trying to show how web-applications can be made more user friendly, this article introduces another common feature to the web-app. Almost all applications have some so...

15 Feb 2001 | Keywords: window, close, save, form | Read »

Modular Field Validation Script I

Anybody who does any programming will/should have heard of the "with" statement. I don't know why but I had always assumed this wasn't available in JavaScript. That was until today when I typed it in...

8 Mar 2001 | Keywords: with, form, validate, loop | Read »

Modular Field Validation Script II

How many times have you found yourself writing JavaScript validation functions that look like this: ...

8 Mar 2001 | Keywords: fields, validate, form, modular | Read »

Tracking changes to a form

About a month ago I learnt of an IE specific event, called "onBeforeUnLoad", that allows you to capture the moment a user leaves a page. Using this, I wrote ...

16 Mar 2001 | Keywords: form, change, save | Read »

Debugging JavaScript in Netscape

JavaScript and Netscape. Now there are two words that, when heard in the same sentence, put the fear of god in me. I know that Netscape invented JavaScript but that doesn't distract from the fact tha...

22 Mar 2001 | Keywords: debug, alert, Netscape, onerror | Read »

Opening database relative URLs in JavaScript

It is a little known fact the domino database structure behaves in much the same way as a standard directory strucure. Using this fact we can navigate through a database without having to include the...

12 Apr 2001 | Keywords: url, path, open | Read »

Debugging JavaScript in Your Applications

You might already know about the Microsoft Script Debugger that lets you find errors in your JavaScript. But did you know how to actually use it to debug your code? This article explains a few features of the debugger that will save you having to use alert() boxes ever again....

13 Jan 2004 | Keywords: Debug, debugger, breakpoint, typeof, undefined | Read »

‹ Previous | « Firsticon Page 2 of 3Last » | Next ›