#42002/3/20 21:08:34
form的target没用过,好像用得比较少,
帮你找了一下资料,至于行不行要试一下
TARGET NN all IE all HTML all
TARGET="windowOrFrameName" Optional
If the HTML document returned from the server after it processes the form submission is to be loaded into a window or frame other than the current window or frame, you can specify where the returned document should load by assigning a window or frame name to the TARGET attribute. Target frame names must be assigned to frames and windows as identifiers. Assign names to frames via the NAME attribute of the FRAME element; assign names to new windows via the second parameter of the window.open() scripting method. If you omit this attribute, the returned document replaces the document containing the FORM element. An identifier other than one belonging to an existing frame or window opens a new window for the returned document.
A FORM element can have only one returned document and one target. If you want a form submission to change the content of multiple frames, you can include a script in the returned document whose onLoad event handler loads or dynamically writes a document into a different frame. (Set the location.href property of each frame to a desired URL.)
Example
value
Case-sensitive identifier when the frame or window name has been assigned via the target element's NAME attribute. Four reserved target names act as constants: _blank Browser creates a new window for the destination document.
_parent Destination document replaces the current frame's framesetting document (if one exists; otherwise, it is treated as _self).
_self Destination document replaces the current document in its window or frame.
_top Destination document is to occupy the entire browser window, replacing any and all framesets that may be loaded (also treated as _self if there are no framesets defined in the window).
Default _self