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

183
Views
JS UI al hacer clic en cambiar texto archivado a activo

El fragmento JS es de una interfaz de usuario de Photoshop. ¿Alguien puede decirme por qué el campo de texto no se muestra activo cuando el usuario marca la casilla de verificación 1? He probado los eventos onClick y onChange sin éxito. ¡Gracias!

 dialog.checkbox1 = panel3.add("checkbox", undefined, undefined, {name: "checkbox1"}); dialog.checkbox1.text = "Background Copy"; dialog.checkbox1.value = checkbox1; checkbox1.onClick = function() { if (checkbox1 == true){ dialog.edittext1.active = true; } } dialog.edittext1 = panel3.add('edittext {properties: {name: "edittext1"}}'); dialog.edittext1.text = "Background copy"; dialog.edittext1.alignment = ["fill","top"]; dialog.edittext1.onChange = function() { if (dialog.edittext1.text == "") { alert("The text field can not be empty."); } else { win.hide(); } dialog.edittext1.text = "Background copy" }
about 4 years ago · Juan Pablo Isaza
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!