Votes for the specified answer in the specified poll.

Syntax

Smartsite SXML CopyCode image Copy Code
poll.vote(locator pollItem, string voteForAnswerId)

Parameters

Name Data Type Description
pollItem Locator The poll item.
voteForAnswerId String The id of the answer to vote for.

Return Value

None.
SXML