Tags Order A-Z Category Context

<sn:editor-button>

Displays a button in its buttonset. The text on the button is the value of the label attribute. When submitted, the value of the value attribute is submitted along with the form post so you know which button has been used to submit the form.

Attributes

  • string < optional > The value of the button when it is submitted in the form post. This is so you can tell which button was pressed. Can be any string .
  • string < optional > The name of the variable of the button when submitted in the form post Can be any string .

Valid Contexts

  • : The area where your app is displayed alone
  • : The Bebo profile page
  • : On a notification page (after the user has clicked on a link in the email)
  • : On the invitations page

Code

<sn:editor action="foo.html">
   <sn:editor-buttonset>
     <sn:editor-button value="Do It" name="didhedoit"/>
     <sn:editor-button value="Don't do it" name="hedidntdoit"/>
   </sn:editor-buttonset>
</sn:editor>
Play with this code in the sandbox