User Tools

Site Tools


Sidebar

Software

img

Table of Contents

img


img - Perform actions on the html element <img>

Description

a("$attribute_search","$attribute_value")
a("$attribute_search","$attribute_value","$action")
a("$attribute_search","$attribute_value","$attribute_info")
a("$attribute_search","$attribute_value","$attribute_change","$new_value")

This function returns a string

Parameters

$attribute_search
The <img> attribute to search to identify the element
Attributes examples: “id”, “name”, “style”, …

$attribute_value
The value of the attribute to be found

$action
Action values:
“click” - Performs a click in the element
“focus” - Set the focus to the element “save” - Save the image to a file and return the filename

$attribute_info
The attribute you want to retrieve
Special attributes:
“innerhtml” - Gets the innerhtml of the element
“textcontent” - Gets the text content of the element

$attribute_change
The attribute to change the value

$new_value
The new value of the attribute to change

img.txt · Last modified: 2014/11/24 13:50 by admin