
Hello Everyone ,
I am working on Something and i want to know about whether a Ribbon Button Exist on form or not using java Script. Is there any solution for that Please provide a solution for that.
*This post is locked for comments
I have the same question (0)You could use JQuery:
$(document).ready(function()
{
if($('#Mscrm.DashboardTab.Query.AdvancedFind').length)
{
//Place your code here
}
//OR
if(document.getElementById('Mscrm.DashboardTab.Query.AdvancedFind'))
{
//Place your code here
}
});
I used F12 to get the Id of the button (Advanced Find). The first option is using JQuery and the second option is JavaScript.