Differences between revisions 1 and 2
Revision 1 as of 2004-12-03 15:39:00
Size: 1135
Editor: DarylOlander
Comment:
Revision 2 as of 2009-09-20 23:24:31
Size: 1135
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

HTML Control Naming and JavaScript support

Overview

The HTML Controls are found inside of HTML Forms. There are two supported names for the HTML Controls, the name and id attributes. When a form is submitted for processing, the successfull controls will have their control name and current value submitted. The control name is given by the name attribute. The id attribute is a unique identifier within an HTML and XHTML document.

Both names are determined when the page is rendered. Typically the name attribute is the databinding expression. The actual value is both dependent on the tag through the naming chain and scoping through the URL rewriter service. The tagId attribute is used to set the id. This value is always passed through the URL Rewriter service to provide scoping.

This presents a problem for JavaScript authors. In order to support JavaScript the tags write out a simple lookup mechanism allowing JavaScript access to the "real" names of things.

Control Descriptions

TextBox

TextArea

HTML_Controls_are_named_and_how_JavaScript_support (last edited 2009-09-20 23:24:31 by localhost)