Questions tagged [disable-link]
40 questions
73
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.
![](../../users/profiles/433533.webp)
cicakman
- 1,920
- 4
- 22
- 31
60
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…
![](../../users/profiles/57997.webp)
sarsnake
- 23,178
- 58
- 166
- 281
8
votes
4 answers
5
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…
![](../../users/profiles/1826992.webp)
epluribusunum
- 105
- 2
- 14
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…
![](../../users/profiles/326389.webp)
at.
- 45,606
- 92
- 271
- 433
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…
![](../../users/profiles/7203431.webp)
Andrew
- 708
- 1
- 14
- 37
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
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…
![](../../users/profiles/596757.webp)
Sadiksha Gautam
- 4,604
- 6
- 35
- 67
2
votes
4 answers
Disable submit button when form submit
I am using this validation code, I want to disable submit button when form submit after validation.
Submit Button:
Validation code: