Sybernet / Supplied Procedures Reference
Release 3.00
Mar 03, 2005
backwards forwards

HTTP.SP_HTML_JAVASCRIPT

This procedure is invoked from SP_HTML_FORM to create (or invoke) the standard JavaScript functions to validate text, numbers, dates, and textareas. These functions are included whenever its single parameter is NULL or explicitly set to TRUE.

When you are creating multiple forms in the same window, a common mistake is to leave this parameter unspecified. When you do, multiple invocations occur which don't confuse JavaScript, but does make the output larger than you expected.

noteFor Internal Use Only.

Syntax

procedure sp_html_javascript
(
    @inline                        VARCHAR(30)
)

Parameters

Parameter Description
inline
 
This string determines if these functions are created inline (TRUE) or referenced as a link (FALSE).

Example

The following example illustrates how you might invoke sp_html_javascript (though you should not):

exec http.dbo.sp_html_javascript



Sybernet is a trademark of SRI International.
Copyright © 1996-2009 SRI International. All Rights Reserved.
Denis D. Workman / http://Sybernet.sri.com/