Form input - JQUERY

Hello everybody,

I need some JavaScript skills. Would be a big help.

I would like that if my input field (id=“status”) has text value (“deleted”), that the div with the class=“form__content” is added a combo-class “red”

I wrote it like this:

Is this complete crap or does anybody know the solution with the prober function? It should be on page load I guess.

Thanks for your help!