Submit a Code Fragment... Submit a Code Fragment...

Previous Next Expand Collapse Search
NameLink to viewDescriptionTypeLink to viewSourceLink to view
1
Show details for 01/15/202301/15/2023
1
Show details for 01/12/202301/12/2023
2
Show details for 01/11/202301/11/2023
1
Show details for 04/28/202004/28/2020
1
Show details for 03/10/202003/10/2020
1
Show details for 01/25/202001/25/2020
1
Show details for 12/10/201912/10/2019
1
Show details for 10/26/201910/26/2019
1
Show details for 10/08/201910/08/2019
1
Show details for 09/28/201909/28/2019
1
Show details for 09/02/201909/02/2019
3
Show details for 07/19/201907/19/2019
1
Show details for 06/21/201906/21/2019
1
Show details for 04/06/201904/06/2019
1
Show details for 02/20/201902/20/2019
1
Show details for 02/05/201902/05/2019
1
Show details for 05/31/201605/31/2016
1
Show details for 04/26/201604/26/2016
2
Show details for 02/25/201602/25/2016
2
Show details for 03/04/201503/04/2015
2
Show details for 11/02/201411/02/2014
1
Show details for 07/31/201307/31/2013
1
Show details for 06/29/201306/29/2013
1
Show details for 05/30/201305/30/2013
1
Show details for 05/01/201305/01/2013
1
Show details for 04/12/201304/12/2013
1
Show details for 04/05/201304/05/2013
1
Show details for 02/27/201302/27/2013
2
Show details for 11/21/201211/21/2012
1
Show details for 10/27/200910/27/2009
1
Show details for 08/29/200808/29/2008
11
Show details for 09/04/200709/04/2007
1
Show details for 10/15/200610/15/2006
1
Show details for 10/12/200610/12/2006
1
Show details for 05/05/200605/05/2006
2
Show details for 04/08/200504/08/2005
1
Show details for 10/19/200410/19/2004
1
Show details for 03/09/200403/09/2004
11
Show details for 02/03/200402/03/2004
2
Show details for 02/07/200302/07/2003
1
Show details for 09/13/200209/13/2002
1
Show details for 09/10/200209/10/2002
1
Show details for 07/20/200207/20/2002
1
Show details for 07/09/200207/09/2002
1
Show details for 06/08/200206/08/2002
1
Show details for 05/10/200205/10/2002
1
Show details for 03/12/200203/12/2002
1
Show details for 02/01/200202/01/2002
1
Show details for 01/21/200201/21/2002
3
Show details for 12/31/200112/31/2001
1
Show details for 12/29/200112/29/2001
1
Show details for 12/17/200112/17/2001
1
Show details for 10/01/200110/01/2001
2
Show details for 09/21/200109/21/2001
1
Show details for 09/18/200109/18/2001
1
Show details for 09/08/200109/08/2001
1
Show details for 08/29/200108/29/2001
1
Show details for 07/10/200107/10/2001
1
Show details for 06/11/200106/11/2001
1
Show details for 05/10/200105/10/2001
1
Show details for 05/08/200105/08/2001
1
Show details for 04/12/200104/12/2001
1
Show details for 03/26/200103/26/2001
1
Show details for 02/22/200102/22/2001
1
Show details for 02/14/200102/14/2001
1
Show details for 02/04/200102/04/2001
1
Show details for 01/15/200101/15/2001
1
Show details for 11/30/200011/30/2000
1
Show details for 10/25/200010/25/2000
1
Show details for 10/16/200010/16/2000
2
Show details for 09/15/200009/15/2000
1
Show details for 09/08/200009/08/2000
1
Show details for 08/26/200008/26/2000
4
Show details for 08/17/200008/17/2000
1
Show details for 07/12/200007/12/2000
1
Show details for 07/11/200007/11/2000
2
Show details for 07/10/200007/10/2000
10
Hide details for 07/08/200007/08/2000
Calculating array values in JavaScriptThis JavaScript function uses a global variable listSize which is computed from the formula @Elements(someList). The list is really an array of <INPUT> fields called total and quantity. Note that if the array has only one element you cannot use the array construct, you must reference the field directly.JavaScriptRlatulippe@romac.com
Format E-mail AddressesMost Web sites that collect user contact information require users to enter their e-mail addresses. The formatEmail function checks to make sure an e-maill address has been enetered in the correct format - if not, it returns an empty string.JavaScriptRlatulippe@romac.com
Frameset code JavaScriptRlatulippe@romac.com
How do you validate and jump to fields which have validation errors?This example will check that all required fields are filled in. If a field is not filled in, it will move the cursor in the web browser to that field.JavaScriptRlatulippe@romac.com
How to open a new window and navigate to a Web page using a Keyword List and JavaScriptHow to open a new window and navigate to a Web page using a Keyword List and JavaScriptJavaScriptRlatulippe@romac.com
JavaScript function for doing search and replace of a character within a stringThe following function takes three parameters -- the string upon which it operates, the character it is searching for, and the character it is replacing that character with. It returns the new string product of this search and replace operation, and works in Navigator 3x and 4x, as well as IE 3x and 4x. This can be useful if, say, you are doing parameter passing to a Query_String field in a domino document via the URL, and need to replace the spaces in the text you are passing in the URL with underscore characters. If you are confined to using JavaScript to ac complish this search and replace operation, then this function will do the trick.JavaScriptRlatulippe@romac.com
JavaScript function for doing search and replace of a character within a string The following function takes three parameters -- the string upon which it operates, the character it is searching for, and the character it is replacing that character with. It returns the new string product of this search and replace operation, and works in Navigator 3x and 4x, as well as IE 3x and 4x. This can be useful if, say, you are doing parameter passing to a Query_String field in a domino document via the URL, and need to replace the spaces in the text you are passing in the URL with underscore characters. If you are confined to using JavaScript to accomplish this search and replace operation, then this function will do the trick.JavaScriptRlatulippe@romac.com
List-processing functionsThe list-processing functions of the @formula language provide some of the strongest processing capabilities of any built in feature of Notes. Translating them to JavaScript is fairly straightforward. List in JavaScript are implemented as arrays, but you use them in almost the same way you do the @formula language. Perhaps the most obvious use of these functions on a Web page is in string parsing, but your imagination and necessity may suggest many more. Here are the JavaScript versions of some list processing functions:JavaScriptRlatulippe@romac.com
Preventing UI refresh when working with FramesetsOn the Web instead of having your forms reload constantly, create a Frameset where one frame has a size of zero. Open a form in each frame. Using JavaScript to react to button presses or other actions, move the data you want to submit to the hidden frame and force the submit of that document. Now your UI doesn't refresh and the user still executes the submit action.JavaScriptRlatulippe@romac.com
Using the 'With' statement in JavaScriptThe 'with' statement in JavaScript lets you preface an object and all of its properties and methods without a long object address, saving you time while you are coding. For example this function below uses the 'with' statement after the function is declared. The with statement passes the form object which allows the rest of the script to access the form's properties and methods without a full address.JavaScriptRlatulippe@romac.com
1
Show details for 06/28/200006/28/2000
2
Show details for 06/22/200006/22/2000
1
Show details for 06/21/200006/21/2000
1
Show details for 06/06/200006/06/2000
1
Show details for 05/26/200005/26/2000
1
Show details for 05/12/200005/12/2000
633
Show details for 04/19/200004/19/2000
1
Show details for 04/06/200004/06/2000
1
Show details for 03/16/200003/16/2000
2
Show details for 02/28/200002/28/2000
1
Show details for 12/03/199912/03/1999
1
Show details for 11/10/199911/10/1999
1
Show details for 11/04/199911/04/1999
1
Show details for 10/31/199910/31/1999
1
Show details for 10/25/199910/25/1999
1
Show details for 10/23/199910/23/1999
1
Show details for 10/21/199910/21/1999
2
Show details for 10/20/199910/20/1999
1
Show details for 10/17/199910/17/1999
2
Show details for 10/07/199910/07/1999
1
Show details for 08/27/199908/27/1999
1
Show details for 07/22/199907/22/1999
1
Show details for 06/30/199906/30/1999
1
Show details for 06/15/199906/15/1999
1
Show details for 06/08/199906/08/1999
1
Show details for 05/17/199905/17/1999
1
Show details for 05/13/199905/13/1999
1
Show details for 05/12/199905/12/1999
1
Show details for 04/17/199904/17/1999
1
Show details for 04/11/199904/11/1999
1
Show details for 04/08/199904/08/1999
1
Show details for 03/19/199903/19/1999
1
Show details for 03/04/199903/04/1999
1
Show details for 02/24/199902/24/1999
1
Show details for 02/19/199902/19/1999
11
Show details for 02/13/199902/13/1999
2
Show details for 02/12/199902/12/1999
1
Show details for 02/04/199902/04/1999
1
Show details for 02/03/199902/03/1999
1
Show details for 02/02/199902/02/1999
4
Show details for 01/31/199901/31/1999
1
Show details for 01/29/199901/29/1999
1
Show details for 01/27/199901/27/1999
1
Show details for 01/25/199901/25/1999
1
Show details for 01/15/199901/15/1999
1
Show details for 12/29/199812/29/1998
1
Show details for 12/21/199812/21/1998
3
Show details for 12/17/199812/17/1998
15
Show details for 12/15/199812/15/1998
1
Show details for 12/12/199812/12/1998
1
Show details for 11/25/199811/25/1998
1
Show details for 11/24/199811/24/1998
842