The fastest way to develop and deploy interactive web‑based applications in full-stack Erlang

+ Get started
+ Tutorial
+ API
+ Elements
+ Actions
Other resources

Update a form element (textbox, dropdown, checkbox, etc) to set text value of TargetID. Can also be used to set the src attribute of an image tag.

wf:set(TargetID, Value) -> ok
wf:set(Priority, TargetID, Value) -> ok

  • Priority ('normal', 'eager', 'defer')
    eager will always execute before normal, which will always execute before defer
  • TargetID (atom)
    name of an element or a JQuery selector path. See Element Paths for more information
  • Value (string or binary)
    value to set