El problema que tengo es que no me coge el texto "quitar" y no sé porqué:
Código Javascript:
Ver original
<a class='ari12bla' style='display:block; text-decoration:none; text-align:center; line-height:25px; background-image: url(../compartido/greenbuttonbackground.jpg); this.style.color=#FFFFFF; width:100px; height:25px; font-weight: bold; vertical-align:middle; border-left:1px solid #737373; border-right:1px solid #737373; cursor:pointer;' onMouseOver="this.style.backgroundImage='url(../compartido/redbuttonbackground.jpg)'; this.value='Quitar'" onMouseOut="this.style.backgroundImage='url(../compartido/greenbuttonbackground.jpg)'; this.value='Suscrito'" onclick="javascript:removerss('2','580')" />Suscrito</a>
también os lo pongo como lo tengo (en php) programado exactamente:
Código PHP:
echo "<a class='ari12bla' style='display:block; text-decoration:none; text-align:center; line-height:25px; background-image: url(../compartido/greenbuttonbackground.jpg); this.style.color=#FFFFFF; width:100px; height:25px; font-weight: bold; vertical-align:middle; border-left:1px solid #737373; border-right:1px solid #737373; cursor:pointer;' onMouseOver=\"this.style.backgroundImage='url(../compartido/redbuttonbackground.jpg)'; this.value='$label_remove'\" onMouseOut=\"this.style.backgroundImage='url(../compartido/greenbuttonbackground.jpg)'; this.value='$label_subscribed'\" onclick=\"javascript:removerss('$idprofilelogged','$idrss')\" />" . ucfirst($label_subscribed) . "</a>";