Linked Questions

1 vote
4 answers
17k views

<html> <head> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> </head> <body> <script> function checkValue() { ...
Jacel's user avatar
  • 347
0 votes
2 answers
282 views

Basically my WordPress theme's search results page doesn't return a "normal" looking page when no characters are submitted. When you use the search tool properly though and actually type something in, ...
user2440477's user avatar
1 vote
0 answers
217 views

How to disable a button when the input field is empty? im trying really hard but i'm bad in javascript... :(, so could someone please help me out? because i'm making a schoolproject for a customer ...
No Penta No Problem's user avatar
0 votes
0 answers
183 views

Currectly I am creating a page which has many @Html.TextBoxFor and @Html.DropDownList. Based on the value entered in it the submit button should be enabled. I tried required but it doesn't work for me....
Global's user avatar
  • 11
2513 votes
18 answers
743k views

So jQuery 1.6 has the new function prop(). $(selector).click(function(){ //instead of: this.getAttribute('style'); //do i use: $(this).prop('style'); //or: $(this).attr('style'...
Naftali's user avatar
  • 147k
179 votes
9 answers
359k views

About a month ago Mitt’s question went unanswered. Sadly, I’m running into the same situation now. http://api.jquery.com/change/#comment-133939395 Here’s the situation: I’m using jQuery to capture ...
antwarpes's user avatar
  • 2,297
34 votes
6 answers
57k views

I have a simple form to check the value of post code entered by the user against a variable, I'm trying to disable the submit button and do the check and give alert message, I can't figure out what I'...
akano1's user avatar
  • 41.9k
14 votes
5 answers
53k views

I am using jquery to disable the submit button and load loading image, In submit button I am using the folowing : <div id="registerbtn" name="registerbtn"> <input type="submit" class="btn ...
Rohitashv Singhal's user avatar
8 votes
3 answers
18k views

I have some code that looks like the following coming back from an XHR response: jQuery(':text:not(:hidden)').removeAttr("disabled"); This is a result of input fields being disabled after form submit....
randombits's user avatar
  • 48.7k
3 votes
4 answers
11k views

I have a form with two input fields and a submit button on my page, I would like to have the feature that the 'submit' button is disabled until there are values on both two input fields. That's the ...
Mellon's user avatar
  • 39.1k
2 votes
3 answers
21k views

I have the following form and javascript: <script type="text/javascript"> function toggleButton(ref,bttnID){ document.getElementById(bttnID).disabled= ((ref.value !== ref.defaultValue) ? ...
samyb8's user avatar
  • 2,598
3 votes
7 answers
15k views

Can someone tell me all possible ways to disable all buttons in a class, I already tried this which isn't working, $("input.myClass").attr('disabled', true); This is how I am using it, <...
Mathematics's user avatar
  • 7,688
5 votes
3 answers
4k views

I have a form that has multiple text inputs, I don't want to add id to each one as they are generated from server side code - number of fields may differ etc. I just want to be able to disable the ...
Paolo B's user avatar
  • 3,464
4 votes
3 answers
3k views

This is a new issue for me and I've been unable to find any information about this. I have a simple onclick listener that performs a smooth scroll to a target on the page. Here is the code below: $("...
War Gravy's user avatar
  • 1,703
1 vote
7 answers
7k views

I have buttons that display a form when clicked. I'm currently trying to figure out how to disable the other buttons once one button is already clicked, to prevent multiple forms from showing. I'm not ...
BB956's user avatar
  • 41

15 30 50 per page