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.
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…
sarsnake
  • 23,178
  • 58
  • 166
  • 281
8
votes
4 answers

Find all link in a div element and disable them all

Assume that I have some HTML elements like these :
Click me
Hello everybody. Click me to do something else
Oops…
Nấm Lùn
  • 1,239
  • 5
  • 27
  • 47
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…
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…
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…
    Andrew
    • 708
    • 1
    • 14
    • 37
    2
    votes
    2 answers

    Hide/locking a
    button until form is completely filled with validation

    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:
    user15317710
    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.
    Ell
    • 21
    • 2
    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
    • 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: