Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/05/2008, 06:26
quimfv
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Sabadell
Mensajes: 4.897
Antigüedad: 16 años, 2 meses
Puntos: 574
Re: getElemetByID no me funciona

Cita:
...
Lo raro es que si hago: alert(Objeto.name) me tira el mensaje "WebLeg12" que es el nombre con el cual declaré el objeto.
...

esto te demuestra que getElemetByID esta funcionando sin ningun problema, el problema es lo que ya te han dicho getElemetByID te trae un objeto html.


Cita:
...
No se, tal vez me esté equivocando, pero segun lo que he leido se pueden usar controles OCX hechos en VB6 en páginas web.
...
Primero creo que solo funcionan con IE y ademas que se puedan usar no quiere decir que javascript los pueda ejecutar... pero no tengo suficiente información para asegurarlo. Busca por OCX y javascript....

Cita:
How to create an ActiveX and link it to JavaScript in an HTML document.

With the Delphi Active Form it is easy to create an ActiveX (OCX) component what can be integrated into programs like VB, VBA (Word, Excel, Access, and Outlook), Delphi, C++, and in this case the IE Web-Browser via a HTML document.
...
Quim