what is the right javascript command in this case?

Please, I developing one script to one non-profit organization and I don’t know anything in javascript, but I have this HTML code:


Select


Remove

and I need some way to click in these links shown.

Please, if someone has any idea!! It’s for a good cause =)

Thx!