I have a list in Spotfire with countries in it. There is (None) in the list as an option. When a country is selected in the list, the country name and asterisk icon are displayed on another test panel. After that, if (None) is selected, the name of the country disappears, but the star only disappears. I need it to disappear, just like the text.
Here is an example:
USA selected
then select None
Here is the javascript that I have in the panel for output. The goal is to not display the icon if None is selected.
$("#b67963fdb4724d11b744affb05048a23").on('change',function(){ $("#b67963fdb4724d11b744affb05048a23 option:selected").text()=="None"? document.getElementById($("#9bf3680df22140b9955b39c8ba6cfff8")).style.display = "hidden" : document.getElementById($("#9bf3680df22140b9955b39c8ba6cfff8")).style.display = "visible" })
Here are the properties of the icon:
How to disable the icon if no country is selected?
, , - , . , , .
, , , R, A, U C; KOREA, , , , Starts with K, . (None) next .
KOREA
Starts with K
(None)
, SN() ( "SubstituteNull" ). , NOT NULL , . :
SN()
SN(UniqueConcatenate([Country]), '_')
, ; _, .
_
. Spotfire 7.6.
Source: https://habr.com/ru/post/1653023/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1653018/is-it-possible-to-pass-command-line-arguments-to-argv-when-using-the-n-or-p-options&usg=ALkJrhgHe1pyuEFV9ec3xxVRQCzKCuAWJQBash - stylish Powershell escape underscore - powershellCreating a honeypot for nodejs / hapi.js - securitynode.js - Cache image to file system and pipe image for response - node.jsWhy doesn't the infinity loop use a cpu processor up to 100 - c #How to work with inline arrays to format json in objective-c - jsonPrevent keyword expansion in Script shell - javaPorter Vectorizing Sliding Windows - pythonHow to give a personalized greeting to Watson's conversation? - ibm-cloudAndroid maps: difference between OnMapReady () and OnMapLoaded () - androidAll Articles