Votes for the specified answer.

Syntax

Smartsite SXML CopyCode image Copy Code
this.vote(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.

Used in

Macro Description
Poll Smartsite Web Toolkit Polling Module
SXML