Questions tagged [disable-link]
42 questions
77
votes
9 answers
Disable future dates in jQuery UI Datepicker
Is it possible to disable future date from today?
Let say today is 23/10/2010, so 24/10/2010 onwards are disabled.
Sorry I am very new in jQuery and JavaScript.

cicakman
- 1,970
- 4
- 22
- 33
62
votes
11 answers
disable a hyperlink using jQuery
Click me
I did
$('.my-link').attr('disabled', true);
but it didn't work
Is there an easy way to disable the hyperlink using jquery? Remove href? I would rather not fiddle with href. So if I can do it w/o…

sarsnake
- 26,667
- 58
- 180
- 286
9
votes
4 answers
6
votes
2 answers
Disable links when clicking and dragging to scroll (jQuery)
See fiddle: http://jsfiddle.net/mrcarllister/Z2GjN/
Basically, I've got the click-drag-scroll working EXCEPT when you click and drag on an anchor/link.
It only seems to be when the mouse cursor remains on the link on release that the url is…

epluribusunum
- 125
- 2
- 15
4
votes
2 answers
How to disable Zurb Foundation button?
I've created a link in HTML with Zurb Foundation's button class:
Check-out
Looks disabled, that's great. However, I can still click on it and it takes me to /time_track/check_out! I…

at.
- 50,922
- 104
- 292
- 461
3
votes
2 answers
Class disabled not working tag
i write a class disabled in li tag show disabled style but click the menu is run
List Services
why the menu inactive in…

Andrew
- 840
- 3
- 17
- 43
2
votes
2 answers
Hide/locking a
I make my JSON script with a form and a button, but when I demo it on someone, they can press the submit button whenever they like. Here is my code:
2
votes
4 answers
Disable link after click angular js
Could anybody help me with a solution.
I need to make the link disabled (PAY Now) after clicking on that to avoid multi clicking.
2
votes
1 answer
Disable link in pdfkit rails
I am using pdfkit gem for generating the pdf file. I am using stylesheets for changing the style with
pdf = PDFKit.new(html, orientation: 'Landscape')
pdf.stylesheets << File.join(Rails.root, 'app', 'assets', 'stylesheets', 'pdf.css')
In my…

Sadiksha Gautam
- 5,032
- 6
- 40
- 71
2
votes
4 answers
Jquery to disable links
I have page with several links and linked buttons. I want to disable all. How can I do this?