javascript - Change style using JS -


i have css code:

.ui-dialog-buttonset .on{         color: black;         border-radius: 7px;      } 

and want set display = none using jquery:

$('#ui-dialog-buttonset .on').css('display', 'none'); 

it not woring. doing wrong ? appreciate help.

ui-dialog-buttonset class, not id. select using period, not hash:

$('.ui-dialog-buttonset .on').css('display', 'none'); 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -