Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/01/2019, 13:07
Avatar de aeberdion
aeberdion
 
Fecha de Ingreso: enero-2009
Ubicación: Petal, MS
Mensajes: 136
Antigüedad: 15 años, 3 meses
Puntos: 8
Pregunta JS en un boton del menu

Quiero que uno de los botones del menu me carge un JS al hacer click. Como puedo hacer eso?

El codigo es

Código:
<p style="text-align: center;"><button class="tithely-give-btn" style="background-color: #1397cf; font-family: inherit; font-weight: bold; font-size: 19px; padding: 15px 100px; border-radius: 4px; cursor: pointer; background-image: none; color: white; text-shadow: none; display: inline-block; float: none; border: none;" data-church-id="******">Start Giving</button>

<script src="https://tithe.ly/widget/v3/give.js?3"></script>
<script>
  var tw = create_tithely_widget();
</script></p>
__________________
Recuerda siempre que eres único… Exactamente igual que todos los demás.
Ideas Sordas

Última edición por aeberdion; 10/01/2019 a las 15:19