I currently have a script that it uses ajax to search, the results turn up and I have buttons to each result.
document.getElementById('buttonone').innerHTML = "Search Sent";
Works for the button that loaded with the original page
document.getElementById('buttontwo').innerHTML = "Added Ty";
Does not work for the button loaded with ajax
Is there a way to register the new elements on ajax load?