Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

btn class disabled invalid #27

Closed
ycxwoo opened this issue Feb 10, 2017 · 1 comment
Closed

btn class disabled invalid #27

ycxwoo opened this issue Feb 10, 2017 · 1 comment

Comments

@ycxwoo
Copy link

ycxwoo commented Feb 10, 2017

<button class="btn disabled">**The mouse click is still valid**</button>

@bopoda
Copy link
Owner

bopoda commented Feb 10, 2017

really.
But it is a full ace code.
you can try:

<button class="btn disabled" disabled="disabled">Click</button>

Or using js:

$('body').on('click', 'a.disabled', function(event) {
    event.preventDefault();
});

@bopoda bopoda closed this as completed Feb 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants