Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
My SVG "StateSignal13" is still shown after triggering. What's wrong?

My SVG "StateSignal13" is still shown after triggering Bestätigung_ÖFFNET and Bestätigung_SCHLIESSET. Visibility doesn't work at all. What's wrong?

var LE1BO = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_ÖFFNET");
var LE1BS = LeitstandSCHENKERRadeburg.getVariable("Siemens LOGO 8 NR1.Bestätigung_SCHLIESSET");

function ZustandLE1(){

    if (LE1BO == "True") {
                        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","True");
                        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
    
    if (LE1BS == "True") {
        LeitstandSCHENKERRadeburg.setVariable("Intern.ZustandLE1","False");
        LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "visible");
    }else {
            LeitstandSCHENKERRadeburg.setProperty("LeitstandSCHENKERRadeburg.StateSignal13.visibility", "hidden");
            }
}

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Not sure what type LeitstandSCHENKERRadeburg is representing. But assuming it's an HTML element the setProperty function is not applied correctly.

Take a look at the documentation of it.
If you want to adjust the styling of your element you will need to access it like so:

LeitstandSCHENKERRadeburg.style.setProperty('visibility', 'hidden')
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!