[jQuery] How to set a group of elements bold if it's related element has something in it

[jQuery] How to set a group of elements bold if it's related element has something in it


Hi,
I'm really not even sure where to start with this one so am really
hoping someone can help shed some light on it...
I've got a a bunch of input fields called inputTime1, inputTime2,
inputTime3, inputTime4
and I've got a 'parallel' bunch of hidden fields called inputNotes1,
inputNotes2, inputNotes3, inputNotes4
I need to set the inputTime1.css to bold if inputNotes1 is NOT empty
and the same for inputTime2 and inputNotes2, etc.
Can this be done in a simple jQuery statement?
Cheers and thanks in advance!
N