The easiest and most efficient way to set class on server connect success

On success event I want to set d - none to particular item e.g form in order to hide it. I used to utilise variable and toggle class based on variable value but am looking for alternative and easier way to achieve it, just like I can hide dynamic alert on success event.

Community Page
Last updated: