I created a button that open a modal window on click.html- कैसे निष्क्रिय करने के लिए <a href>?
<a href="#" data-toggle="modal" data-target="#myModal" class="signup-button gray-btn pl-pr-36" id="connectBtn" data-role="disabled">Connect</a>
For some reason the data-role="disabled"
doesn't work good. How can I disable it?
बस 'href' विशेषता हटाएं? – Oriol
यदि आप वास्तव में एक लिंक बनाना नहीं चाहते हैं तो बस ' 'तत्व का उपयोग न करें। आप सीएसएस में किसी भी तत्व के लिए 'कर्सर: पॉइंटर' जोड़ सकते हैं। – pawel
बटन के लिए 'ए' का उपयोग न करें, उन्हें अक्षम नहीं किया जा सकता है (मूल नहीं, केवल कामकाज)। 'बटन' टैग का प्रयोग करें। – Luizgrs