I want to hide a single button in many buttons in div by using button name. Is that possible?
I tried
$("#showButtons").hide('input[name:buttonName]');
But it deletes all buttons in that div.
Change
$("#showButtons").hide('input[name:buttonName]');
to
$("#showButtons input[name='buttonName']").hide();
if input is inside #showButtons
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With