3.2.0

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
February 1,
I am eager to this answer, even I have faced same kind of poblem.....

Vinayak Kadam
vinayak.kadam@techbooks.com
Vinayak
April 16,
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
April 27,

This topic is archived.

See also:


Back to support forum