About 500,000 results
Open links in new tab
  1. How to change the text of a button in jQuery? - Stack Overflow

    How do you change the text value of a button in jQuery? Currently, my button has 'Add' as its text value, and upon being clicked I want it to change to 'Save'. I have tried this method below, but s...

  2. How to change the button's text using JavaScript - Stack Overflow

    @Maitreya The OP is using <input type="button"> so element.value is the correct way to change the button's displayed text. innerText, innerHTML, and textContent would be used if you are …

  3. How do I change the font-family of a <button> element?

    If I do body * { font-family: 'font'; } it works but it seems hacky so, button { font-family: 'thefont', sans-serif; } doesn't work? Can you check the computer CSS properties on Dev Tools and see …

  4. Write macro on VBA to change colour of button - Stack Overflow

    Jan 24, 2023 · I've written a macro on VBA to change the colour of a button (lint). I want the button to be white, then green when clicked once, red when clicked again, and white when …

  5. javascript - Change button text on click - Stack Overflow

    This would most likely be the equivalent: a combination of adding a click event listener to the button and changing its text in the callback's function body via texContent.

  6. How can I change the background color of a button WinAPI C++

    Sep 11, 2013 · I know how to change the style of a button control, but I cannot find out how to make a button a different color. So, how can I change the background color of a WinAPI …

  7. How can I change a button's color on hover? - Stack Overflow

    I need to change the color of a button on hover. Here is my solution, but it doesn't work.

  8. How to change button text or link text in JavaScript?

    Change .text to .textContent to get/set the text content. Or since you're dealing with a single text node, use .firstChild.data in the same manner. Also, let's make sensible use of a variable, and …

  9. android - How to change the color of a button? - Stack Overflow

    If you replace the background with a color you will loose the effect of the button, and the color will be applied to the entire area of the button. It will not respect the padding, shadow, and corner …

  10. Change Button Color When Clicked Android Studio - Stack Overflow

    Apr 12, 2021 · How can I change the color of the button when it's clicked, I'm making a quiz app and when the button is clicked it will change its color