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

186
Views
Cómo obtener el valor de getElementbyId en el cuadro de entrada

Estoy teniendo este código a continuación

 function jsmeOnLoad() { document.getElementById("jsme_container").style.display = "none" jsmeApplet = new JSApplet.JSME("jsme_container", "380px", "340px", { "options": "oldlook,marker,markAtomOnly,nocanonize" }); jsmeApplet.setCallBack("AfterStructureModified", show_smiles); } //jsmeApplet.setNotifyStructuralChangeJSfunction("show_smiles"); var patt = /\[([A-Za-z][az]?)H?\d*:\d+\]/g; //regexp pattern for numbered atom function show_smiles(event) { smiles = event.src.smiles(); //atom that are colored are numbered new_smiles = smiles.replace(patt, '<em>$1</em>'); document.getElementById("smiles_container").value = new_smiles }
 <input type="text" placeholder="Enter the Solute Molecule here" name="solute" id='smiles_container' ><br> <br>

Aunque estaba llamando usando id=smiles_container , no obtengo la salida en el cuadro de entrada. por favor ayuda

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!