value property

value property

Represents the current contents of the corresponding form control, in an interactive user agent. Changing this attribute changes the contents of the form control, but does not change the contents of the element. If the entirety of the data can not fit into a single DOMString, the implementation may truncate the data.

Definition:

@property
def value(self):
    ...
@value.setter
def value(self, value):
    ...

See Also