shuittny
asked on
chrome and edge version of getElementById("p").attributes("title").value
does anyone know the Chrome and Edge version of this line:
getElementById("p").attrib utes("titl e").value?
I get a "no function exists" type of error for this on Google Chrome and Windows Edge but it works fine on other IE browsers
getElementById("p").attrib
I get a "no function exists" type of error for this on Google Chrome and Windows Edge but it works fine on other IE browsers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So you have to use like collection/array like below
Open in new window
In other browser treat () as collection as well, so in that it works! But it good to use [] for array/collection for better resolution in all browser