The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mozilla::DOM::NSHTMLInputElement

Mozilla::DOM::NSHTMLInputElement is a wrapper around an instance of Mozilla's nsIDOMNSHTMLInputElement interface. This class inherits from Supports.

Note: The `GetControllers' method is not wrapped; it has something to do with XUL.

CLASS METHODS

$iid = Mozilla::DOM::NSHTMLInputElement->GetIID()

Pass this to QueryInterface.

METHODS

$selectionstart = $nshtmlinputelement->GetSelectionStart()

Output:

$selectionstart (int)

$nshtmlinputelement->SetSelectionStart($selectionstart)

Input:

$aSelectionStart (int)

$selectionend = $nshtmlinputelement->GetSelectionEnd()

Output:

$selectionend (int)

$nshtmlinputelement->SetSelectionEnd($selectionend)

Input:

$aSelectionEnd (int)

$nshtmlinputelement->SetSelectionRange($selectionstart, $selectionend)

Input:

$selectionStart (int)
$selectionEnd (int)

$textlength = $nshtmlinputelement->GetTextLength()

Output:

$textlength (int)

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.