Is it possible to change the style of a div that doesn't have an id or class assigned to it? I need some assistance with this.
Here is the div that needs styling:
<div style="display:inline-block">
I would like the end result to look something like this:
$('#ID/.Class').css({'display': 'block'});
The desired outcome is:
<div style="display:block">
If you are able to help me, it would be greatly appreciated!
If modifying the div using JQuery is not feasible, I am open to alternative solutions using Javascript. Please provide the complete javascript code so I can easily implement it into my project. Thank you!