Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/12/2004, 12:44
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 10 meses
Puntos: 381
Hola sqa212

Realmente no necesitas usar javascript para aplicar y mostrar el atributo title a un span. Prueba a ver si algo así te sirve

Código:
<%
set rslist=db.execute("SELECT * FROM productos")
do while not rslist.eof
idproducto=rslist("idproducto")
tama=rslist("tama")
	if tama=0 then
	set rsDesAlterna=db.execute("SELECT * FROM Alternativos where idproducto= " & idproducto)
		if  not rsDesAlterna.eof and not rsDesAlterna.bof then
		alterita = " title=""" & rsDesAlterna("descripcion") & """"
		end if
		Set rsDesAlterna=Nothing
%>

<span<%=alterita%>>Descripcion </SPAN>
<br>
 <% End IF %>
<%rslist.MoveNext
Loop
set rslist = nothing
db.close
set db = nothing
%>