Questions tagged [disabled-control]

322 questions
4
votes
1 answer

Disabled submit button, but valid form data will not enable it (vee-validate)

I'm attempting to disable my form's submit button until valid data is entered for each of the controls. After entering correct data for each of the fields, the submit button remains disabled. Markup:
a coder
  • 7,530
  • 20
  • 84
  • 131
4
votes
1 answer

How to disable ng-required validation for a larger form part

I have a large form part, that shall be disabled in some scenarios. I am using a
tag with ng-disabled attribute, to enable/disable the form part.
girafi
  • 131
  • 7
4
votes
3 answers

How to make a disabled select box look like a normal text box(css only)

I tried to change the inline css of the select box as below .chosen-disabled .chosen-single { cursor: default; color: #000; border: 1px solid #444; } The select box appeared to be faded but I need it to be look like a normal text field(but…
SHEFEEK A
  • 270
  • 3
  • 14
4
votes
4 answers

Using jquery tagit plugin, Is there anyway to disable all entry?

I have a page and i am using jquery tagit plugin which works great but i am trying to disable it when i click on a button, and have it have similar behavior to when i disable a select Dropdown like this: $("#selectDropdown").val(0); …
leora
  • 188,729
  • 360
  • 878
  • 1,366
4
votes
4 answers

JQuery prevent links working whilst ajax is loading

I have a firework detonation system which uses JQuery to connect to a PHP script via AJAX to detonate the fireworks. The only problem is that if you click one launch button straight after another, there is a possibility of setting off more fireworks…
Blease
  • 1,380
  • 4
  • 38
  • 64
4
votes
3 answers

How to disable the click if a function is in active status

I have created a fiddle of my function here( http://jsfiddle.net/rhy5K/10/ ) . Now i want to disable the button click i.e play/pause if the sound is playing like Get ready,5,4,3,2,1 . I know only how to disable the form submit button , but I am…
beginner
  • 665
  • 6
  • 14
  • 31
4
votes
6 answers

how to disable a html button after it has been clicked not a submit button

hi i have a html button and when you press it, it should give you the distances of shops from where you are so when you press it they appear now the problem is because it is in early stages the information is printed everytime the button is pressed…
Pazrat
  • 103
  • 1
  • 1
  • 9
4
votes
4 answers

Can check-box be made as read only without disabling it?

I am having trouble trying to solve a problem. In my application I generate an text-input and checkbox-inputs and also a select element. Now in some condition I need to pre-populate those values for the user and I don't want the user to be able to…
Jaylen
  • 39,043
  • 40
  • 128
  • 221
4
votes
4 answers

Disable Next in Jquery datepicker

Is there any other way by which I cannot allow the user to select next months. I had gone through some threads but I don't want to disable both next and previous buttons by using step functionality as directed in this link. function bindPicker() { …
Incredible
  • 3,495
  • 8
  • 49
  • 77
4
votes
2 answers

how to disable HTML textbox focus and that textbox value should submit

i am working on forms i used ReadOnly in Focus is there any data is submitting but not able to edit that textbox data. i used disabled in no focus is there and no edit but that textbox values is not submitting. how to solve this issue in my form…
Devendar
  • 473
  • 3
  • 9
  • 24
3
votes
2 answers

Preventing Multiple Submits in MVC

In this question disabling the submit button to prevent multiple postbacks was a viable solution to stop (non-malicious) users from posting back multiple times. This option doesn't work well if you have a view with multiple submit buttons. Take the…
Coda
  • 387
  • 2
  • 9
3
votes
1 answer

How can we use the Curve Fitting Tool during debugging?

MATLAB's Curve Fitting App (previously "tool", hence, cftool) is a graphical tool for interactive curve fitting1. The general way of working with this tool is by choosing variables from the workspace: However, during debugging, data selection is…
3
votes
3 answers

How to get value from a disabled text field when the value is not present in ID or in any attribute using Java in Selenium WebDriver

I have a few disabled text field auto-populated with some values based on my previous input. I want to verify whether auto-populated values are as per my previous input. But I am unable to get the value from the text field using .getText() or…
3
votes
1 answer

Disabling red 'X' button from closing entire JavaFX program w/ Java8?

I'm running into a bit of a problem. I'm creating a program for a client. In the program, I have implement a dedicated 'close/shut down' button - which requires a password in order to properly shut down. But an alternative (and less safe) way of…
Yuri Khechoyan
  • 103
  • 1
  • 2
  • 4
3
votes
2 answers

jquery: live() - only lives once?

I am following this thread to disable/ enable the click on a button, Best way to remove an event handler in jQuery? its idea is that you can also use the live() method to enable/disable events. What will happen with this code is that when you click…
Run
  • 54,938
  • 169
  • 450
  • 748
1 2
3
21 22