Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

630
Vistas
Vue: ¿Podemos usar la etiqueta Object con una propiedad de HTML4 como 'classid' en Vue.js?

Quiero convertir algunas fuentes que funcionaron tal vez en HTML4 a la fuente Vue.js. Como sé, la propiedad 'classid' en la etiqueta <object> se elimina en HTML5.

¿Podemos usar HTML4 en Vue.js? y ¿Cómo usar esta etiqueta <object> en este caso?

Estas son las fuentes de muestra del html4

API_Test01.html

 <html> <object classid='clsid:AnUUID' id='FOO'></object> <script language="javascript"> function bar() { var ret = FOO.bar() alert(ret) } </script> <body> <form name="frm"> <APIs used when CS interlocking><br> ND status: <input type="button" value="bar" onClick="bar()"><br> </form> </body> </html>

LoginTestEnc.html

clsid:AnUUID es lo mismo que AI_Test01.html

 <script language="javascript"> try{ var sampleObj = new ActiveXObject("IniSX.SClient.1"); }catch(e){ alert("Please try again after SSO Client program installation->Business authentication login. Go to the program manual installation screen."); self.location.replace("http://sso.the.url/SCInstall.html"); } </script> <!-- Sample Client Object ID--> <OBJECT ID="SAMPLE_API" CLASSID="CLSID:AnUUID" width=0 height=0></OBJECT> <script language="javascript"> //Extract SSO Ticket and update APP_ID access history var ticket = SAMPLE_API.GetTicketAppWithEnc("APP_ID"); //Get authentication information from client //Response code Success: authentication ticket, Failure: 2: Status before login if(ticket.length==1){ if(ticket==2 ){ alert("Login Please"); } SAMPLE_API.OpenLogin("www.the.url",ticket); //Since you are not logged in, go to the address after calling the authentication window noConfirmClose(); }else{ alert( ticket); } function noConfirmClose(){ top.window.open('about:blank','_self').close(); top.window.opener=self; top.self.close(); } </script>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda