Code on button or link is not getting executed in XPage

Hi,I am using 8.5 server and client.

I am facing the problem while using button or link. The code on button is not getting executed. When I click on button/link in the browser, nothing happens. Even a simple Alert command is also not getting executed.

I can use other elements (like custom control, text fields, labels, displaying first colunm in view as a link etc.) without any problem.

Is anybody having any idea why the problem can occur?

Thanks in advance.

Subject: I anabled the property “dojoUsage” and it worked

Subject: Make sure your button has an ID

eg.<xp:button id=“ButtonID”>

That’s my most common problem with the button not doing anything at all.