Que tal ya probe de la siguiente manera
Código PHP:
function abrirlink() {
if (document.getElementsByTagName('Label7').value != " ")
urlc1();
else
urlc()
}
Y sigo sin poder identificar si mi Label7 tiene texto o esta en blanco, ya también use esta función
Código PHP:
function existe() {
var contenedor = document.getElementById("Label7");
if (contenedor == null)
alert("No existe ID");
else
alert("Si existe ID");
}
mi código de mi Label7
Código PHP:
<asp:Label ID="Label7" name="Label7" value="Label7" runat="server" BorderStyle="Solid" BorderWidth="1px"
Width="230px"></asp:Label>
para saber si existe el ID y si me lo identifica...... si me pudieran ayudar para saber por que no toma en cuenta si hay o no algo escrito en mi Label7, de antemano gracias
Saludos!!!