Hi,
  How do I access caption generated through third party libraries?
I see a screen with checkboxes(in a tree strucuture) and labels beside the checkboxes. Developers are using third party libraries(_javascript_s) to generate these checkboxes and they are placing a label beside the checkbox.
 
When I do a view source on this page I see the following code which has the actual label(Male).
 
var a = new Array;
a[0] = new Array;
a[0]['id'] = '1'
a[0]['checkboxName'] =''ID_1''
a[0]['caption'] = 'Male'(#This is the data I want to retrieve)
a[0]['isOpen'] = true
a[0]['children'] = new Array;
a[0]['children'][0] = new Array;
a[0]['children'][0]['id']='2';
a[0]['children'][0]['caption']=''Female';
a[0]['children'][0]['checkboxName']='ID_2';
but when I say
ie.checkboxes[1].name , it returns the text ID_1.
But I am interested in the caption of the checkbox i.e Male
 
How do I retrieve this caption?
 
Third party libraries used for generating the checkboxes:
<script type="text/_javascript_" src=""></script>
<script type="text/_javascript_" src=""></script>
<script type="text/_javascript_" src=""></script>
<script type="text/_javascript_" src=""></script>
<script type="text/_javascript_" src=""></script>
 
 
Thanks,
Amitha


Yahoo! India Answers: Share what you know. Learn something new Click here
Send free SMS to your Friends on Mobile from your Yahoo! Messenger Download now
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to