Hi,
I had added javascript as a new resource (via scriptrunner) which applied to Jira Service Desk with below js code:
window.onload = function() {
 var inputTags = document.getElementsByTagName("input");
 var searchText = "What do you need help with?";
 
 for (var i = 0; i < inputTags.length; i++) {
 if (inputTags[i].placeholder == searchText) {
 inputTags[i].placeholder = "What do you need help with? (e.g. Notebook problem)";
 break;
 }
 }
}However, sometimes work and sometimes failure
Workable:
Original:
Any idea that I can ensure the workable search box was shown after fully-loaded of service desk portal?
Regards,
Eric Cheng