How can I enable/disable an element's click handler with CSS?

I am using it in JavaScript to enable and disable a div element:

$("#divbutton").css("pointer-events","auto");

But I want a property that enables and disables the element. How can I do that?

html

<div class="buttonSender" id="divbutton">Invia</div>

46 thoughts on “How can I enable/disable an element's click handler with CSS?”

  1. pharmacie de garde aujourd’hui avignon pharmacie champagne argenteuil , pharmacie beaulieu les fontaines pharmacie de garde aujourd’hui dans les yvelines , Comprar Provera medicamento, Comprar Provera medicamento. Provera en farmacia PerГє Comprar Provera genГ©rico [url=https://kit.co/dangbugtlerb/comprar-provera-medicamento-comprar-provera-generico#]Comprar Provera medicamento, Comprar Provera genГ©rico[/url] pharmacie ouverte yssingeaux Barato Xenical en PerГє, Comprar Xenical medicamento. Comprar Xenical sin receta Comprar Xenical genГ©rico [url=https://kit.co/liodifer/barato-xenical-en-peru-xenical-en-farmacia-peru#]Comprar Xenical genГ©rico[/url] , pharmacie de garde aujourd’hui vitrolles pharmacie de garde aujourd’hui dans les yvelines , pharmacie de garde issoire aujourd’hui. pharmacie leclerc angers therapie comportementale et cognitive orne Albuterol venta online, Comprar Albuterol medicamento. Albuterol en farmacia EspaГ±a Comprar Albuterol genГ©rico [url=https://kit.co/lecoted/comprar-albuterol-medicamento-albuterol-venta-online#]DГіnde comprar Albuterol 100 mcg[/url] , pharmacie garde argenteuil dimanche. act therapy video, pharmacie istres pharmacie jaures boulogne billancourt . therapie act et pleine conscience, pharmacie bordeaux bacalan therapies breves plurielles principes et outils pratiques pharmacie ouverte aujourd’hui montpellier .

    Reply
  2. 994506 546510This internet internet site is normally a walk-through its the data you wished about this and didnt know who ought to. Glimpse here, and youll certainly discover it. 911257

    Reply

Leave a Comment