You can use the hidden
,visible
selector:
The hidden selector:
// Matches all elements that are hidden $('#myDiv').is(':hidden')
The visible selector:
// Matches all elements that are visible ('#myDiv').is(':visible')
Tutorials focused on Web Development, ReactJS, JavaScript, PHP, Database Design, Devops
You can use the hidden
,visible
selector:
The hidden selector:
// Matches all elements that are hidden $('#myDiv').is(':hidden')
The visible selector:
// Matches all elements that are visible ('#myDiv').is(':visible')