selenium and dialog

selenium and dialog

Hello everybody,

I'm working on the test writinh with selenium. On my window I have a jquery dilaog and I want to simulate a click on a button from my dialog.

Is it possible?
or maybe can I put an id on the button of dialog jquery?

Thanks in advance for your answer

J