mozilla
Your Search Results

    where

    Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding action body is generated; otherwise the result is ignored and no content is generated.

    For more information, see Where Elements.

    Attributes
    ignorecase, multiple, negate, rel, subject, value

    Examples

    (example needed)

    Attributes

    ignorecase
    Type: boolean
    Set to true to indicate that the case does not matter when making comparisons. Otherwise, the default value is false, to indicate that the value should match with the same case.
    multiple
    Type: boolean
    Set to true to indicate that the value contains multiple values separated by commas. Any of the values may match. Otherwise, the entire value string is compared.
    negate
    Type: boolean
    Set to true to indicate that the comparison should be reversed. The where clause matches if the condition is false, and does not match if the condition is true.
    rel
    Type: one of the values below
    The type of comparison to perform.
    equals
    The subject and value must match exactly.
    less
    The numeric value of the subject must be less than the value
    greater
    The numeric value of the subject must be greater than the value
    before
    The string value of subject must come before value alphabetically
    after
    The string value of subject must come after value alphabetically
    startswith
    The value of subject must start with the value
    endswith
    The value of subject must end with the value
    contains
    The value of subject must contain the value as a substring
    subject
    Type: string
    The variable or string to compare.
    value
    Type: string
    The value to compare.

    Inherited from XUL element
    align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, orient, pack, persist, popup, position, preference-editable, querytype, ref, removeelement, sortDirection, sortResource, sortResource2, statustext, style, template, tooltip, tooltiptext, top, uri, wait-cursor, width

    Properties

    Inherited Properties
    align, attributes, allowEvents, baseURI, boxObject, builder, childElementCount, childNodes, children, className, clientHeight, clientLeft, clientTop, clientWidth, collapsed, contextMenu, controllers, database, datasources, dir, firstChild, firstElementChild, flex, height, hidden, id, lastChild, lastElementChild, left, localName, maxHeight, maxWidth, menu, minHeight, minWidth, namespaceURI, nextElementSibling, nextSibling, nodeName, nodeType, nodeValue, observes, ordinal, orient, ownerDocument, pack, parentNode, persist, prefix, previousElementSibling, previousSibling, ref, resource, scrollHeight, scrollLeft, scrollTop, scrollWidth, statusText, style, tagName,textContent, tooltip, tooltipText, top, width

    Methods

    Inherited Methods
    addEventListener(), appendChild(), blur, click, cloneNode(), compareDocumentPosition, dispatchEvent(), doCommand, focus, getAttribute(), getAttributeNode(), getAttributeNodeNS(), getAttributeNS(), getBoundingClientRect(), getClientRects(), getElementsByAttribute, getElementsByAttributeNS, getElementsByClassName(), getElementsByTagName(), getElementsByTagNameNS(), getFeature, getUserData, hasAttribute(), hasAttributeNS(), hasAttributes(), hasChildNodes(), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData

    Document Tags and Contributors

    Contributors to this page: Mossop, Sheppy, Enn, Marsf
    Last updated by: Sheppy,