Share the post "How To Change CSS Styles Of JQuery UI Button"
To Change any CSS style of an element using JQuery, you normally do this.
|
1 |
$('#id').css('display', 'block'); |
With a JQuery UI Button, it is a little different since it is not just one element but a group of HTML tags that make up this button.
To do so, simply get the parent of the JQuery object that you retrieved by id.
|
1 |
$('#id').parent().css('display', 'block'); |