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 
Getting value of checkbox in javascript

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> General questions
Author Message
werdnagreb



Joined: 27 Mar 2007
Posts: 6

PostPosted: Tue Mar 27, 2007 7:43 pm    Post subject: Getting value of checkbox in javascript Reply with quote

Hi,

How do I get the value of a check box in javascript. I am trying something, but it's not working:

var cs = tool.GetPropertyById("checkbox1", "status");

No matter what the status is, cs is always 0. Is there a different property I should be using?

thanks,
--a
Back to top
Admin
Site Admin


Joined: 22 Aug 2006
Posts: 1055

PostPosted: Thu Mar 29, 2007 4:10 am    Post subject: Reply with quote

You may get the value of search box like :

var cs;
cs=tool.GetPropertyById("tbs_combo_013736", "value");

where 'tbs_combo_013736' is ID of your search box

The state of checkbox is currently not supported. Will be added in next builds.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> General questions 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