Besttoolbars Development network

Back to Besttoolbars main site

 

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
GetPropertyById in Firefox

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion
Author Message
hasse



Joined: 04 Feb 2009
Posts: 3

PostPosted: Wed Feb 04, 2009 3:20 pm    Post subject: GetPropertyById in Firefox Reply with quote

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";
Back to top
Admin
Site Admin


Joined: 22 Aug 2006
Posts: 1055

PostPosted: Thu Feb 05, 2009 11:46 am    Post subject: Reply with quote

When using a button, use ID, when using a combo box, use name attributes
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group

Copyright c Softomate, 2010. All Rights Reserved
Terms of Service | Privacy Policy