logo

Binding events to objects

In domino it is almost impossible to have complete control of the resulting HTML when designing your pages. It is only through the use of trickery that it is possible to achieve most goals. One such ...

Keywords: script, event, function | Category: JavaScript | Read »

Creating dynamic references to objects

Take the following JavaScript function. It is meant for a form that has six fields whose names are all of the format "QuantityX" where X is a number from 1 to 6. Have a look at the code and see if yo...

Keywords: input, object, string | Category: JavaScript | Read »

Copying text from a document to the clipboard

This is another one of those things that you will either love or hate. I love it ;-) It only works in Internet Explorer on 32 bit Windows platforms, so is only really useful for things like Intranets...

Keywords: copy, range, select | Category: JavaScript | Read »

Using Query_String parameters

Using the Query String portion of a URL is a useful method to pass information to a new document. For example when creating a new repsonse document: ..db.nsf/response?OpenForm&ParentUNID=766a4d... Ge...

Keywords: URL, Query String, Decoded | Category: Forms | Read »

Auto-Launch a file attachment

In the Notes Client there is an option when designing a form to tell it to launch the first attachment when a document is opened. How about doing this in the browser? I've thought of two ways of doin...

Keywords: file, attachment, launch | Category: Views | Read »

Limit the types of files users can upload

The following JavaScript function can be used to validate that the type of file that a user tries to upload is of a certain format. It does this by checking that the files extention (eg .html) is in ...

Keywords: File, upload, type | Category: JavaScript | Read »

Locating File Upload Controls with JavaScript

In JavaScript there is no way of getting a direct handle on File Upload Controls via the Document Object Model (DOM) unless you know their "name" (ID). Unless you are using R5, where you can specify ...

Keywords: File Upload | Category: JavaScript | Read »

Effective use of the FileCloseWindow Command

When designing forms in domino we can easily use some of the same standard actions that we would use in the Notes Client i.e. EditDocument, FileSave, FileCloseWindow. Domino can then translate these ...

Keywords: View, Close, Submit, URL | Category: Forms | Read »

URL Syntax for advanced field level searching

OK, so we should all know by now that you can search a view by appending ?SearchView&Query=something to the end of its name in the url. What do you do though when you want to get a little more advanc...

Keywords: url, search | Category: Views | Read »

Using the void operator in anchor links

Have you noticed that if you create a URL that calls a JavaScript function or method, in which an object gets returned but the browser is not told what to do afterwards, the browser will then do some...

Keywords: Return, window, confirm | Category: JavaScript | Read »

‹ Previous | « Firsticon Page 15 of 16Last » | Next ›