on 07-15-2010 9:35 AM
Hi,
I created two dropdowns in my interactive pdf. I binded with nodes tow..two dropdown boxes are getting values in interactive form.
But here I need to display the values in the second dropdown on the base of selected value from first dropdown.
How can i achive this. Here I m facing crucial problem to solve this.
Kindly let me know the javascript code to solve this prob.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tqu,
I used below code to solve my problm
MASTER.EnumDropDownList3.clearItems();
var dd1 = MASTER.EnumDropDownList1.rawValue;
for(var i = 0; i < MASTER.EnumDropDownList2.items.nodes.length;i++)
{
var dd2 = MASTER.EnumDropDownList2.getDisplayItem(i).substring(3);
if (dd1 == dd2)
MASTER.EnumDropDownList3.addItem(MASTER.EnumDropDownList2.getDisplayItem(i));
}
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.