Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
thisThis is also an idea iI use it usuallyfrequently:
var active = $('#modal-check-visible').prop("checked") ? 1 : 0 ;
ifIf cheked will, it'll return 1 else will1; otherwise it'll return 0.
this is also idea i use it usually
if cheked will return 1 else will return 0
This is also an idea I use frequently:
If cheked, it'll return 1; otherwise it'll return 0.