542 Part III . Document Objects Reference more

542 Part III . Document Objects Reference more likely, a customized page based on the input provided by the user. You see this situation all the time when you perform a search at Web sites. In a multiframe or multiwindow environment, you may want to keep the form part of this transaction in view for the user but leave the responding page in a separate frame or window for viewing. The purpose of the TARGET attribute of a

definition is to enable you to specify where the output from the server s query should be displayed. The value of the targetproperty is the name of the window or frame. For instance, if you define a frameset with three frames and assign the names Frame1, Frame2, and Frame3 to them, you need to supply one of these names (as a quoted string) as the parameter of the TARGET attribute of the definition. Browsers also observe four special window names that you can use in the definition: _top, _parent, _self, and _blank. To set the target as a separate subwindow opened via a script, use the window name from the window.open() method s second parameter and not the window object reference that the method returns. Note The value of the target property is read-only in IE3. On the CD-ROM Example on the CD-ROM Related Items: form.action, form.method, form.encoding properties. Methods handleEvent(event) Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . See the discussion of the window.handleEvent()method in Chapter 16 for a description of this NN4-specific method. reset() Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . FORM.reset()
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.

Leave a Reply