public interface FormFieldWithNameHistory
Example:
With
<input name="foo"/>
following script will work
theForm.foo.name = 'newName';
theForm.foo.value = 'some value';
Depending on the simulated browser the form field is reachable only through its original name
or through all the names it has had.
Modifier and Type | Method and Description |
---|---|
String |
getOriginalName()
Gets the first value of the
name attribute of this field before any change. |
Collection<String> |
getPreviousNames()
Get all the names this field had before the current one.
|
String getOriginalName()
name
attribute of this field before any change.Collection<String> getPreviousNames()
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.