:: Forum >> Version 2 >>

How do i select all checkboxes ?

Hello All ,
I am new to using Active Widgets. I have used the extented grid property to achive freeze rows .And also checkboxes. Now all of this is inside of an iframe . How do i refer to the checkboxes outside of the iframe ? I have a "SELECT ALL" button outside the iframe which should select all the checkboxes.

I tried :
In the IFRAME which uses active widget :

obj1.setAttribute("type", "checkbox")

Outside the IFRAME :
window.document.iframename.document.formname.obj1.setAttribute('disabled',true);

But this doenst work . HOw do i reference the checkbox outside the iframe ?

Thanks in advance .. !!
Rupa
Thursday, February 1, 2007
I am eager to this answer, even I have faced same kind of poblem.....

Vinayak Kadam
vinayak.kadam@techbooks.com
Vinayak
Monday, April 16, 2007
Hi Rupa,

try this
this.ifrmname.document.getElementsByName('checkboxName')[keyindex].checked

U will get array of checkboxes better using a for loop make them checked.


bye..
Hari Krishna.N
myfriendharikrishna@yahoo.co.in
Hari
Friday, April 27, 2007



This topic is archived.

Back to support forum

Forum search