About 56 results
Open links in new tab
  1. How to remove "disabled" attribute using jQuery? - Stack Overflow

    Nov 29, 2012 · Prior to jQuery 3.0, using .removeAttr () on a boolean attribute such as checked, selected, or readonly would also set the corresponding named property to false.

  2. How can I remove an attribute with jQuery? - Stack Overflow

    Mar 21, 2022 · I can't seem to get removeAttr to work, I'm using the example I saw on the jQuery site. Basically onclick I add the attribute to disable a field (which works just fine) but when the user clicks …

  3. .prop ('checked',false) or .removeAttr ('checked')? - Stack Overflow

    Prior to jQuery 3.0, using .removeAttr() on a boolean attribute such as checked, selected, or readonly would also set the corresponding named property to false.

  4. javascript - What is the difference between removeProp and …

    Aug 24, 2011 · The official jQuery blog provides a very clear explanation: In the 1.6 release we’ve split apart the handling of DOM attributes and DOM properties into separate methods. The new .prop () …

  5. css - Remove attr javascript - Stack Overflow en español

    Sep 16, 2022 · Recordatorio: Las respuestas generadas por herramientas de IA no están permitidas debido a la política de inteligencia artificial de Stack Overflow en español.

  6. Removing html5 required attribute with jQuery - Stack Overflow

    Hi I would like to remove the 'required=""' attribute with jquery.

  7. html - How to remove "onclick" with JQuery? - Stack Overflow

    Nov 6, 2009 · "Removing an inline onclick event handler using .removeAttr () doesn't achieve the desired effect in Internet Explorer 6, 7, or 8. To avoid potential problems, use .prop () instead"

  8. javascript - Como funciona o método .removeAttr () do jquery quando …

    Sep 27, 2023 · O método removeAttr () apenas recebe um parâmetro string. O segundo parâmetro é ignorado por isso esse código deve estar errado. Para remover múltiplos atributos ao mesmo tempo …

  9. removeAttr () not removing "disabled" attribute in IE

    Apr 20, 2012 · removeAttr () not removing "disabled" attribute in IE Asked 14 years ago Modified 9 years, 10 months ago Viewed 93k times

  10. remove attribute display:none; so the item will be visible

    I use this code to remove the display so it can be visible, $ ("span").removeAttr ("display"); but it does not work. Is the method I'm using valid or is there an other way to get the result?