Instruction set reference
HIPE_OP_GET_ATTRIBUTE
Requests the current value of an HTML attribute for a particular element.
- location: the location of the element whose attribute to retrieve.
- arg[0]: the name of the HTML attribute.
- requestor: A user defined value to be passed back to the client in the return instruction.
Notes
After sending this instruction to the display server, the Hipe server process will send a HIPE_OP_ATTRIBUTE_RETURN instruction back to the client in reply.
Some values are better read with an instruction of their own:
| To read | Use | Because |
|---|---|---|
| A style | HIPE_OP_GET_STYLE | It returns the value in effect, including style rules. style holds only the element's inline styles. |
| An image or a drawing | HIPE_OP_GET_SRC | It returns an img's data as sent with HIPE_OP_SET_SRC, or a canvas's drawing. |
