hasse
Joined: 04 Feb 2009
Posts: 3
|
Posted: Wed Feb 04, 2009 3:20 pm Post subject: GetPropertyById in Firefox |
|
|
Please explain the use of GetPropertyById further!
The embedded help say: | Quote: | | tool.GetPropertyById (name, value) works with names , not the ids as for IE version |
This means you can only access elements having a name-attribute, not buttons or items.
The Javascript Interface Manual has this example for retrieving a value: | Code: |
alert( tool.GetPropertyById(“some_id”,”caption”) ); // IE
alert( tool.GetPropertyById (name, value) ); // Firefox
|
It looks as if they do the same, if you declare | Code: | var name = "some_id";
var value = "caption";
|
|
|