Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
JavaScript
var AddSizeList = this.getField("AddSize");

if(event.willCommit)
{
switch(event.value){

case "Back cover":
  AddSizeList.setItems(["-Select Back cover-", "Back Cover(10x10")", "Back Cover(8x8")", "Back Cover(10.5x10.5")"]);
break;

default:
 AddSizeList.clearItems();}}


What I have tried:

I'm stuck in it from yesterday but no solution is comming out
Posted
Updated 21-Oct-22 19:41pm
v2
Comments
PIEBALDconsult 21-Oct-22 16:46pm    
Do you need to escape some QUOTE characters?
What is the question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900