Using HTML snippet jQuery, the reference selector widget doesnt work the second time or later.

0
Dears, Using HTML Snippet's jQuery, I was able to remove a blank line in the drop-down widget. Very good function!   ex.  jQuery(“option[value=’’]”).remove(); or jQuery(“option:first-child”).remove(); Similarly, when trying to remove a blank line in the Reference selector widget, the first display has been deleted, but the second display does not work. Is it a bug in the HTML Snippet? Is there any countermeasure?  I would like you to tell me. Regards. My customet’s request:   Settings on HTMLSnipeet
asked
2 answers
0

It sounds like you’ve got the dropdown updating, but the HTMLSnippet isn’t also being run. What options do you have set for HTMLSnippet? 

answered
0

Dears,

Maybe... I couldn't do it with jQuery (), so I could do it with HTML.

OK on IE/Edge/Firefox/Chrome.

 

Is there any other way?

Regards.

 

<style type="text/css">
option:first-child {display:none}
</style>

 

answered