Partager via


Srch.U.setPath Method (DisplayTemplatesSrch)

In a tabbing scenario, expands and selects the shortened URL in the search result item when you press Enter; restores the URL to its shortened form when you press Tab.

Srch.U.setPath(e, element, text, originalText)

Parameters

  • e
    The DOM event.

  • element
    The DOM element.

  • text
    The text that should be selected.

  • originalText
    The text that should be restored.