Hi AllI am running a agent through the click of of a button.Code is in Java script.Just down below the code to run the agent I am writing code to click another button but I want this click to happen only after agent is over.Is there any way to stop javascript code till agent is finished.