Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: Highlight the selected dropdown value

$
0
0

Hi Niyati,

 

If you're trying to get the pop-up to show each time you select something on the dropdowns, and you want this pop up to show only on certain tabs, then your script must be embedded in the dropdown's onSelect event and must be similar to this:

 

if(TABSTRIP_1.getSelectedTabIndex() == <Index of the tab that you want to show the popup on>)

{

     POPUP_1.setVisible(true);

}

else

{

     POPUP_1.setVisible(false);

}

 

If you want the same pop-up to show up on more than just one tab selection, then you can modify the if condition accordingly:

 

if(TABSTRIP_1.getSelectedTabIndex() == 1 || TABSTRIP_1.getSelectedTabIndex() == 2 || ...)

{

     ...

}

 

If you want the exact script, it would be useful if you could share screenshots of runtime as well as of your outline view.

 

Thanks and Regards,

Eshwar Prasanna


Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>