The you/yourself/your Reference

The you reference is available inside the tell command, where it refers to the current element being acted upon. You can use yourself as an alias if it reads better, and your works for possessive expressions (e.g., your property instead of you.property).

Examples

This uses the append command to update the contents of every <p> tag.

tell <p/>
    append "some value" to you
end

This uses the remove command to remove all elements with the disabled=true property

tell <[disabled=true]/>
    remove yourself
end

This uses a possessive expression to increment the value of every element targeted

tell <.counter/>
    increment your value

Syntax

(you | yourself)