[jQuery] Jquery coding direction

[jQuery] Jquery coding direction


I'm having problems wrapping my head around how to code this:
I have two textboxes both are required. However if a user fills out
one of the textboxes then the other is no longer required.
Any suggestions?
Thanks
Tom