O'Reilly logo

Rapid Application Development with Mozilla™ by Nigel McFarlane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.1. XUL and HTML Forms Compared

HTML/XHTML has a <FORM> tag. This tag collects <BUTTON>, <SELECT>, <INPUT>, and <TEXTAREA> tags into a group. The <FORM> tag's DOM object has methods that combine the values of the form members together into an HTTP GET or POST request. This automates the process of permanently capturing form data by sending it to some Web server. As a result, Web-based HTML-based applications are now common.

XUL has no equivalent to the <FORM> tag. XUL form control equivalents are not bound into groups (except via <radiogroup>). There is no equivalent to <INPUT TYPE="reset"> or <INPUT TYPE="submit"> in XUL, and XUL has no semiautomatic form submission process. If a plain XUL document is presented to the user, then nothing happens ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required