Streaming live at 10am (PST)

How to target a webflow switch with javascript :)


Hi guys :slight_smile:

I am wondering how I could write a line of javascript that would check wether or not a switch in a webflow collectin is on or off.

How would you do this ?
Attached is a screenshot of the switch Iā€™d like to target in my custom code.

Thank you !!